summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus-service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c
index 4c1c488c..5a6d8199 100644
--- a/hcid/dbus-service.c
+++ b/hcid/dbus-service.c
@@ -143,6 +143,9 @@ static void service_free(struct service *service)
if (service->descr)
free(service->descr);
+ if (service->ident)
+ free(service->ident);
+
if (service->trusted_devices) {
g_slist_foreach(service->trusted_devices, (GFunc) free, NULL);
g_slist_free(service->trusted_devices);