mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] merged YAMAZAKI Makoto's patch fixing termination by assertion bug in netrc parsing.
This commit is contained in:
parent
cdf4dced22
commit
1268028a0a
@ -1,3 +1,7 @@
|
||||
2004-11-15 YAMAZAKI Makoto <Yamazaki.Makoto@fujixerox.co.jp>
|
||||
|
||||
* src/netrc.c: Fix termination by assertion bug in netrc parsing.
|
||||
|
||||
2004-05-09 David Fritz <zeroxdf@att.net>
|
||||
|
||||
* windows/Makefile.src.bor: Fix broken build rule. Add clean target.
|
||||
|
@ -215,9 +215,9 @@ maybe_add_to_list (acc_t **newentry, acc_t **list)
|
||||
if (a && ! a->acc)
|
||||
{
|
||||
/* Free any allocated space. */
|
||||
xfree (a->host);
|
||||
xfree (a->acc);
|
||||
xfree (a->passwd);
|
||||
xfree_null (a->host);
|
||||
xfree_null (a->acc);
|
||||
xfree_null (a->passwd);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user