don't release twice
authorMichael Wallner <mike@php.net>
Mon, 9 Feb 2015 08:25:24 +0000 (09:25 +0100)
committerMichael Wallner <mike@php.net>
Mon, 9 Feb 2015 08:25:24 +0000 (09:25 +0100)
php_http_client_curl.c

index 05db912a1cb05da061e110ce4d8eaa9baa267830..046314313b718335a76f84e1878ef8968faa079b 100644 (file)
@@ -1920,8 +1920,6 @@ static php_resource_factory_t *create_rf(php_http_url_t *url)
                rf = php_resource_factory_init(NULL, &php_http_curle_resource_factory_ops, NULL, NULL);
        }
 
-       zend_string_release(id);
-
        return rf;
 }