We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c18f662 commit 6640adeCopy full SHA for 6640ade
ext/session/session.c
@@ -139,7 +139,6 @@ static inline void php_rshutdown_session_globals(void) /* {{{ */
139
static int php_session_destroy(void) /* {{{ */
140
{
141
int retval = SUCCESS;
142
- zend_string *var_name;
143
144
if (PS(session_status) != php_session_active) {
145
php_error_docref(NULL, E_WARNING, "Trying to destroy uninitialized session");
@@ -1048,6 +1047,7 @@ PS_SERIALIZER_DECODE_FUNC(php) /* {{{ */
1048
1047
} else {
1049
zval_ptr_dtor(¤t);
1050
PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
+ zend_string_release(name);
1051
return FAILURE;
1052
}
1053
0 commit comments