From 004678718ef36a4257856350bde7f93ad3141b9a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 15 Oct 2005 18:28:01 +0000 Subject: [PATCH] fix a bad avahi_free() found by sebest git-svn-id: file:///home/lennart/svn/public/avahi/trunk@777 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/netlink.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/avahi-core/netlink.c b/avahi-core/netlink.c index d5d2295..11961b7 100644 --- a/avahi-core/netlink.c +++ b/avahi-core/netlink.c @@ -145,9 +145,7 @@ fail: close(fd); if (nl) { - if (nl->buffer) - avahi_free(nl); - + avahi_free(nl->buffer); avahi_free(nl); } -- 2.39.5