Fix coverity issues - Resource leaks
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-event-handler.c
index afe92d5..913563e 100644 (file)
@@ -506,6 +506,7 @@ void __bt_adapter_event_filter(GDBusConnection *connection,
                                event_info->cb, event_info->user_data);
                g_slist_free(data->atm_list);
                g_free(data);
+               g_array_free(dbus_data, TRUE);
        } else if (strcasecmp(signal_name, BT_DISCOVERABLE_MODE_CHANGED) == 0) {
                int mode = 0;