]> granicus.if.org Git - php/commitdiff
use correct api
authorAnatol Belski <ab@php.net>
Wed, 2 Sep 2015 15:25:00 +0000 (17:25 +0200)
committerAnatol Belski <ab@php.net>
Wed, 2 Sep 2015 15:25:00 +0000 (17:25 +0200)
ext/session/session.c

index ebce4a5e44b992d6b2934e77063e257f32b430cf..46b817be2844dab50bdb1f6ac2c1af892e3b46c6 100644 (file)
@@ -942,7 +942,7 @@ PS_SERIALIZER_DECODE_FUNC(php_binary) /* {{{ */
 
                if ((tmp = zend_hash_find(&EG(symbol_table), name))) {
                        if ((Z_TYPE_P(tmp) == IS_ARRAY && Z_ARRVAL_P(tmp) == &EG(symbol_table)) || tmp == &PS(http_session_vars)) {
-                               efree(name);
+                               zend_string_release(name);
                                continue;
                        }
                }