mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix a possible invalid `free'.
This commit is contained in:
parent
196f70a7df
commit
c6889dab18
@ -1,3 +1,7 @@
|
||||
2012-04-22 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||
|
||||
* main.c (main): Dynamically allocate `opt.progress_type'.
|
||||
|
||||
2012-04-21 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||
|
||||
* ftp-basic.c (ftp_pasv): Fix memory leak.
|
||||
|
@ -1299,7 +1299,7 @@ for details.\n\n"));
|
||||
}
|
||||
if (opt.warc_keep_log)
|
||||
{
|
||||
opt.progress_type = "dot";
|
||||
opt.progress_type = xstrdup ("dot");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user