]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/statd/notlist.c
statd - the files created are named for dns_name, so use that when unlinking.
[nfs-utils.git] / utils / statd / notlist.c
index b74d9df07b1806667e5a7992ae675223771a0824..1698c26abef92166941dc39eba066b879422957c 100644 (file)
@@ -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);
 }