diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-12-26 16:58:23 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-12-26 16:58:23 +0000 |
commit | 7fe60ada000c1e2deecdbb05b20ea5d45e63b2ed (patch) | |
tree | 3a580fb0398fed405ec9364113b9113e47bffc8f /ext | |
parent | 5e576be36f541e97ba718f65cdbc7753d2ebcd53 (diff) | |
download | php-git-7fe60ada000c1e2deecdbb05b20ea5d45e63b2ed.tar.gz |
Don't forget to free url structure
Diffstat (limited to 'ext')
-rw-r--r-- | ext/curl/interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 2ec184dd47..a3f2aba810 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -175,6 +175,7 @@ static void _php_curl_close(zend_rsrc_list_entry *rsrc TSRMLS_DC); \ if (php_memnstr(str, tmp_url->path, strlen(tmp_url->path), str + len)) { \ php_error_docref(NULL TSRMLS_CC, E_WARNING, "URL '%s' contains unencoded control characters.", str); \ + php_url_free(tmp_url); \ php_curl_ret(__ret); \ } \ \ |