Skip to content

Commit a033601

Browse files
committed
session: fix corruption in mod_mm
1 parent 43f7a97 commit a033601

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/session/mod_mm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ PS_READ_FUNC(mm)
351351
&& ps_mm_key_exists(data, key) == FAILURE) {
352352
/* key points to PS(id), but cannot change here. */
353353
if (key) {
354-
efree(PS(id));
354+
zend_string_release_ex(PS(id), false);
355355
PS(id) = NULL;
356356
}
357357
PS(id) = PS(mod)->s_create_sid((void **)&data);

0 commit comments

Comments
 (0)