summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-common.c
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 /hcid/dbus-common.c
parentea5e64d54ede784ed3517ecbf5520bd6cd0c4c6f (diff)
Fix another leak in name_data_free()
Diffstat (limited to 'hcid/dbus-common.c')
-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);
}