mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
Fixed possible memory leak
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user