From: Daniel Stenberg Date: Thu, 6 Jan 2005 22:25:35 +0000 (+0000) Subject: fixed #1097019, multiple GET posts (-G) error X-Git-Tag: curl-7_13_0~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52e1ce95189dfe2c79167a9b0c284e3d966f95e0;p=curl fixed #1097019, multiple GET posts (-G) error --- diff --git a/src/main.c b/src/main.c index e63dcecee..a001778dd 100644 --- a/src/main.c +++ b/src/main.c @@ -3787,9 +3787,6 @@ show_error: if(headerfilep) fclose(headerfilep); - if (httpgetfields) - free(httpgetfields); - if(url) free(url); @@ -3832,6 +3829,9 @@ show_error: } /* while-loop through all URLs */ quit_curl: + if (httpgetfields) + free(httpgetfields); + if (config->engine) free(config->engine);