From 52e1ce95189dfe2c79167a9b0c284e3d966f95e0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 6 Jan 2005 22:25:35 +0000 Subject: [PATCH] fixed #1097019, multiple GET posts (-G) error --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);