1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00

Don't forget to free url structure

This commit is contained in:
Ilia Alshanetsky
2006-12-26 16:58:23 +00:00
parent 5e576be36f
commit 7fe60ada00

View File

@@ -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); \
} \
\