mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed possible memory leak
This commit is contained in:
parent
4cd3995475
commit
0053b4e899
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue