diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-02-07 18:56:41 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-02-07 18:56:41 +0000 |
commit | d7a83d8995c43371c48d2785e602c5f446b634ce (patch) | |
tree | 3ab7bffdac73277ef1cea4842e9874b5d61ba6cb /src | |
parent | 7725729d908527cdf1eb94dbafad1315f52937aa (diff) |
avoid illegal memory access when doing "-T [URL] [URL]"
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |