diff options
author | Trent Lloyd <lathiat@bur.st> | 2005-08-14 12:18:03 +0000 |
---|---|---|
committer | Trent Lloyd <lathiat@bur.st> | 2005-08-14 12:18:03 +0000 |
commit | 24e661eb636f6397b4a149156f451cb551d32013 (patch) | |
tree | c88b262046cb037447b9ff2eb2bf2d28d126348e /avahi-client/entrygroup.c | |
parent | 7dfbaa097e99373e6eec03f07c43c046b94481f8 (diff) |
* Remove AvahiEntryGroups from the client's list when we free it
* Add a test for AvahiEntryGroup free()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@322 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client/entrygroup.c')
-rw-r--r-- | avahi-client/entrygroup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/avahi-client/entrygroup.c b/avahi-client/entrygroup.c index 26ae75a..2748d86 100644 --- a/avahi-client/entrygroup.c +++ b/avahi-client/entrygroup.c @@ -126,6 +126,8 @@ avahi_entry_group_free (AvahiEntryGroup *group) return avahi_client_set_errno (client, AVAHI_ERR_DBUS_ERROR); dbus_connection_send (client->bus, message, NULL); + + AVAHI_LLIST_REMOVE(AvahiEntryGroup, groups, client->groups, group); free (group); |