diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-06-10 20:30:51 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-06-10 20:30:51 +0000 |
commit | 36f3a7296943022abe94ded17a0cae82614f35ab (patch) | |
tree | 78131a3a79377b931f87734968904a5f458b6a28 /netrc.c | |
parent | b84a4e366013cb3b1eddd4a8b4a8a27cd3bda5cf (diff) | |
download | fetchmail-36f3a7296943022abe94ded17a0cae82614f35ab.tar.gz fetchmail-36f3a7296943022abe94ded17a0cae82614f35ab.tar.bz2 fetchmail-36f3a7296943022abe94ded17a0cae82614f35ab.zip |
First step towards netrc fix.
svn path=/trunk/; revision=1078
Diffstat (limited to 'netrc.c')
-rw-r--r-- | netrc.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -51,9 +51,10 @@ maybe_add_to_list (newentry, list) if (a && ! a->account) { /* Free any allocated space. */ - free (a->host); - free (a->account); - free (a->password); + if (a->host) + free (a->host); + if (a->password) + free (a->password); } else { |