summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-03-14 20:38:01 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-03-14 20:38:01 +0000
commit405c12ea958b4ad04fc416a39d4ec6e64f6f991d (patch)
tree5737f4c540deb4af46a84fcaace41b823fea8d33
parentea5e64d54ede784ed3517ecbf5520bd6cd0c4c6f (diff)
Fix another leak in name_data_free()
-rw-r--r--hcid/dbus-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/dbus-common.c b/hcid/dbus-common.c
index d6299934..8bef4840 100644
--- a/hcid/dbus-common.c
+++ b/hcid/dbus-common.c
@@ -85,6 +85,8 @@ static void name_data_free(struct name_data *data)
for (l = data->callbacks; l != NULL; l = l->next)
free(l->data);
+ slist_free(data->callbacks);
+
free(data->name);
free(data);
}