From d7a83d8995c43371c48d2785e602c5f446b634ce Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 7 Feb 2006 18:56:41 +0000 Subject: avoid illegal memory access when doing "-T [URL] [URL]" --- src/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 44471be40..c6049242c 100644 --- a/src/main.c +++ b/src/main.c @@ -4216,8 +4216,10 @@ show_error: } /* loop to the next globbed upload file */ - if(inglob) + if(inglob) { glob_cleanup(inglob); + inglob = NULL; + } if(outfiles) free(outfiles); -- cgit v1.2.3