fix leak
authorMichael Wallner <mike@php.net>
Tue, 20 Jan 2015 14:10:25 +0000 (15:10 +0100)
committerMichael Wallner <mike@php.net>
Tue, 20 Jan 2015 14:10:25 +0000 (15:10 +0100)
php_http_header.c

index 6d47d99f2a78d399ca5d5fc24268aac6f97fcb66..bbf6a9e085dccc46cf4465d39bbda52d55909a5e 100644 (file)
@@ -291,6 +291,7 @@ PHP_METHOD(HttpHeader, getParams)
                RETVAL_ZVAL(&zparams_obj, 0, 1);
        }
        
+       zval_ptr_dtor(&zctor);
        if (zargs) {
                efree(zargs);
        }