use correct object handler to free the object
[m6w6/ext-http] / php_http_querystring.c
index 77df3215dfaa7daaf6fc009944b050eda8ea12dd..1980b11659af9bb4dd5b1bb1bc8b8edda74524c2 100644 (file)
@@ -344,7 +344,7 @@ PHP_METHOD(HttpQueryString, getGlobalInstance)
        php_http_expect(SUCCESS == zend_parse_parameters_none(), invalid_arg, return);
 
        zs = zend_string_init(ZEND_STRL("instance"), 0);
-       instance = zend_std_get_static_property(php_http_querystring_class_entry, zs, 0, NULL);
+       instance = zend_std_get_static_property(php_http_querystring_class_entry, zs, 0);
        zend_string_release(zs);
 
        if (Z_TYPE_P(instance) != IS_OBJECT) {