1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 04:02:19 +02:00
This commit is contained in:
Sterling Hughes
2001-07-11 01:06:09 +00:00
parent 94e6db966b
commit dd3a7680ca

View File

@@ -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;