From: Lennart Poettering Date: Fri, 27 Jan 2006 16:33:48 +0000 (+0000) Subject: fix entry group destruction (closes #5) X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=8c9cad6c47e2815a6396ad2ce527c74a323d7f7f;p=catta fix entry group destruction (closes #5) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1110 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-client/entrygroup.c b/avahi-client/entrygroup.c index 162f2c4..e43a44f 100644 --- a/avahi-client/entrygroup.c +++ b/avahi-client/entrygroup.c @@ -237,7 +237,7 @@ int avahi_entry_group_free(AvahiEntryGroup *group) { assert(group); - if (group->path && !avahi_client_is_connected(client)) + if (group->path && avahi_client_is_connected(client)) r = entry_group_simple_method_call(group, "Free"); AVAHI_LLIST_REMOVE(AvahiEntryGroup, groups, client->groups, group);