X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_header.c;h=bbf6a9e085dccc46cf4465d39bbda52d55909a5e;hb=5bfa64d1442d70bac430f73796b3ec93e221d757;hp=dfcba3c4433851983e5802e2dfc36cf2b052fec7;hpb=ac85eae11f885c31e1883b3ee8b8a2443db80d86;p=m6w6%2Fext-http diff --git a/php_http_header.c b/php_http_header.c index dfcba3c..bbf6a9e 100644 --- a/php_http_header.c +++ b/php_http_header.c @@ -243,6 +243,7 @@ PHP_METHOD(HttpHeader, negotiate) return; } if (rs_array) { + ZVAL_DEREF(rs_array); zval_dtor(rs_array); array_init(rs_array); } @@ -290,6 +291,7 @@ PHP_METHOD(HttpHeader, getParams) RETVAL_ZVAL(&zparams_obj, 0, 1); } + zval_ptr_dtor(&zctor); if (zargs) { efree(zargs); }