mirror of
https://github.com/php/php-src.git
synced 2026-03-30 04:02:19 +02:00
fix.
This commit is contained in:
@@ -825,7 +825,7 @@ PHP_FUNCTION(curl_exec)
|
||||
|
||||
error = curl_easy_perform(ch->cp);
|
||||
if (error != CURLE_OK) {
|
||||
if (ch->handlers->write->buf)
|
||||
if (ch->handlers->write->buf.c)
|
||||
smart_str_free(&ch->handlers->write->buf);
|
||||
SAVE_CURL_ERROR(ch, error);
|
||||
RETURN_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user