summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsaerome kim <saerome.kim@samsung.com>2019-02-14 10:44:07 +0900
committersaerome kim <saerome.kim@samsung.com>2019-02-14 10:44:07 +0900
commitac728d2dd00659dc71d4ad281cc236287695159f (patch)
treed5a11b8799401af437522a035d2f42c2fdf1cb24
parentcef7275f6e40a1eeb321ceda62f37c31b7e082de (diff)
downloadzigbee-ac728d2dd00659dc71d4ad281cc236287695159f.tar.gz
zigbee-ac728d2dd00659dc71d4ad281cc236287695159f.tar.bz2
zigbee-ac728d2dd00659dc71d4ad281cc236287695159f.zip
Change-Id: I484bc15588b3209c5e8fb588a6ae9f3dddd2c91e Signed-off-by: saerome kim <saerome.kim@samsung.com>
-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;