avoid illegal memory access when doing "-T [URL] [URL]"

This commit is contained in:
Daniel Stenberg 2006-02-07 18:56:41 +00:00
parent 7725729d90
commit d7a83d8995
1 changed files with 3 additions and 1 deletions

View File

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