Fixed possible memory leak

This commit is contained in:
Dmitry Stogov 2015-02-11 09:39:38 +03:00
parent 4cd3995475
commit 0053b4e899

View file

@ -2715,6 +2715,7 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue) /* {{{
int ret;
if (str->len && php_check_open_basedir(str->val)) {
zend_string_release(str);
return FAILURE;
}