mirror of
https://github.com/mirror/wget.git
synced 2025-01-31 14:50:23 +08: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>
|
2012-04-21 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
* ftp-basic.c (ftp_pasv): Fix memory leak.
|
* ftp-basic.c (ftp_pasv): Fix memory leak.
|
||||||
|
@ -1299,7 +1299,7 @@ for details.\n\n"));
|
|||||||
}
|
}
|
||||||
if (opt.warc_keep_log)
|
if (opt.warc_keep_log)
|
||||||
{
|
{
|
||||||
opt.progress_type = "dot";
|
opt.progress_type = xstrdup ("dot");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user