summaryrefslogtreecommitdiff
path: root/src/zbl-dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zbl-dbus.c')
-rw-r--r--src/zbl-dbus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zbl-dbus.c b/src/zbl-dbus.c
index 07262df..c495404 100644
--- a/src/zbl-dbus.c
+++ b/src/zbl-dbus.c
@@ -847,6 +847,8 @@ static void _zbl_signal_handler(GDBusConnection *connection,
case ZB_ZCL_CHARACTER_STRING:
if (FALSE == g_variant_iter_loop(data_iter, "(y)", &value)) {
ERR("No Data");
+ __records_value_free(records, j);
+ __records_free(records, count);
goto EXIT_EVENT_HANDLER;
}
data_size = value + 1;