Skip to content

Commit 2d72a17

Browse files
committed
use correct api
1 parent 45a7278 commit 2d72a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/session/session.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ PS_SERIALIZER_DECODE_FUNC(php_binary) /* {{{ */
942942

943943
if ((tmp = zend_hash_find(&EG(symbol_table), name))) {
944944
if ((Z_TYPE_P(tmp) == IS_ARRAY && Z_ARRVAL_P(tmp) == &EG(symbol_table)) || tmp == &PS(http_session_vars)) {
945-
efree(name);
945+
zend_string_release(name);
946946
continue;
947947
}
948948
}

0 commit comments

Comments
 (0)