diff options
author | saerome kim <saerome.kim@samsung.com> | 2019-02-14 10:44:07 +0900 |
---|---|---|
committer | saerome kim <saerome.kim@samsung.com> | 2019-02-14 10:44:07 +0900 |
commit | ac728d2dd00659dc71d4ad281cc236287695159f (patch) | |
tree | d5a11b8799401af437522a035d2f42c2fdf1cb24 | |
parent | cef7275f6e40a1eeb321ceda62f37c31b7e082de (diff) | |
download | zigbee-ac728d2dd00659dc71d4ad281cc236287695159f.tar.gz zigbee-ac728d2dd00659dc71d4ad281cc236287695159f.tar.bz2 zigbee-ac728d2dd00659dc71d4ad281cc236287695159f.zip |
Fixed svace 85247 resoure leak.submit/tizen/20190214.073635submit/tizen/20190214.073615submit/tizen/20190214.015548accepted/tizen/unified/20190215.055039accepted/tizen/unified/20190215.055027accepted/tizen/unified/20190214.154031
Change-Id: I484bc15588b3209c5e8fb588a6ae9f3dddd2c91e
Signed-off-by: saerome kim <saerome.kim@samsung.com>
-rw-r--r-- | src/zbl-dbus.c | 2 |
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; |