]> granicus.if.org Git - php/commitdiff
Fixed compilation
authorDmitry Stogov <dmitry@php.net>
Fri, 4 Dec 2009 07:11:37 +0000 (07:11 +0000)
committerDmitry Stogov <dmitry@php.net>
Fri, 4 Dec 2009 07:11:37 +0000 (07:11 +0000)
ext/session/session.c

index 87fec64d6922abad2e561b6ec40ccb530bb86157..e331f43ff631217f6110fb198cabc058b88d2c55 100644 (file)
@@ -1965,7 +1965,7 @@ static PHP_FUNCTION(session_unregister)
 
        IF_SESSION_VARS() {
                SEPARATE_ZVAL_IF_NOT_REF(&PS(http_session_vars));
-               PS_DEL_VARL(Z_STRVAL_PP(p_name), Z_STRLEN_PP(p_name));
+               PS_DEL_VARL(p_name, p_name_len);
        }
 
        RETURN_TRUE;