mirror of https://github.com/moparisthebest/curl
avoid illegal memory access when doing "-T [URL] [URL]"
This commit is contained in:
parent
7725729d90
commit
d7a83d8995
|
@ -4216,8 +4216,10 @@ show_error:
|
||||||
|
|
||||||
} /* loop to the next globbed upload file */
|
} /* loop to the next globbed upload file */
|
||||||
|
|
||||||
if(inglob)
|
if(inglob) {
|
||||||
glob_cleanup(inglob);
|
glob_cleanup(inglob);
|
||||||
|
inglob = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if(outfiles)
|
if(outfiles)
|
||||||
free(outfiles);
|
free(outfiles);
|
||||||
|
|
Loading…
Reference in New Issue