diff options
author | Neil Brown <neilb@suse.de> | 2007-05-03 09:33:20 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-05-03 09:33:20 +1000 |
commit | 6080a2854af9c12a5794a389e98f0cd4d3942a6c (patch) | |
tree | ec216aac761d230e7e3ee59f85ae17f35f1e2bf5 /utils/statd/notlist.c | |
parent | 8e52cab35c708f5e99c7f294afdea67991795a57 (diff) | |
download | nfs-utils-6080a2854af9c12a5794a389e98f0cd4d3942a6c.tar.gz nfs-utils-6080a2854af9c12a5794a389e98f0cd4d3942a6c.tar.xz nfs-utils-6080a2854af9c12a5794a389e98f0cd4d3942a6c.zip |
statd - the files created are named for dns_name, so use that when unlinking.
Also free dns_name when freeing an 'nlist', so do the unlink before the free.
Diffstat (limited to 'utils/statd/notlist.c')
-rw-r--r-- | utils/statd/notlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/statd/notlist.c b/utils/statd/notlist.c index b74d9df..1698c26 100644 --- a/utils/statd/notlist.c +++ b/utils/statd/notlist.c @@ -211,6 +211,7 @@ nlist_free(notify_list **head, notify_list *entry) free(NL_MY_NAME(entry)); if (NL_MON_NAME(entry)) free(NL_MON_NAME(entry)); + free(entry->dns_name); free(entry); } |