mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed curl_close() behavior
This commit is contained in:
parent
7fcd4064c0
commit
3ba4f8263d
1 changed files with 3 additions and 1 deletions
|
@ -3136,7 +3136,9 @@ PHP_FUNCTION(curl_close)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
zend_list_close(Z_RES_P(zid));
|
if (Z_REFCOUNT_P(zid) <= 2) {
|
||||||
|
zend_list_close(Z_RES_P(zid));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue