diff options
author | Sterling Hughes <sterling@php.net> | 2001-07-11 01:06:09 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2001-07-11 01:06:09 +0000 |
commit | dd3a7680caf6bd5e57b6db2be8d2eca62a9beced (patch) | |
tree | 2f029d423c5a2eac5aa04617b1cb53437d37f459 /ext/curl | |
parent | 94e6db966be6a90b53a528ec4abfb46816bf70c1 (diff) | |
download | php-git-dd3a7680caf6bd5e57b6db2be8d2eca62a9beced.tar.gz |
fix.
Diffstat (limited to 'ext/curl')
-rw-r--r-- | ext/curl/curl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/curl.c b/ext/curl/curl.c index 2c20a5c450..0ef082d394 100644 --- a/ext/curl/curl.c +++ b/ext/curl/curl.c @@ -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; |