Fix wrong memory deallocation 65/79665/1 accepted/tizen/ivi/20160712.132240 accepted/tizen/mobile/20160712.132138 accepted/tizen/tv/20160712.132200 accepted/tizen/wearable/20160712.132215
authorseungha.son <seungha.son@samsung.com>
Tue, 12 Jul 2016 08:17:26 +0000 (17:17 +0900)
committerseungha.son <seungha.son@samsung.com>
Tue, 12 Jul 2016 08:23:14 +0000 (17:23 +0900)
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ieb78caf17fd69e59d328655b2ba2832564c6b4bb

src/notification_ipc.c

index 9bc45e7..90a913b 100755 (executable)
@@ -1047,7 +1047,6 @@ int notification_ipc_request_load_noti_grouping_list(notification_type_e type, i
                        notification_ipc_make_noti_from_gvariant(noti, noti_body);
                        *list = notification_list_append(*list, noti);
                        g_variant_unref(noti_body);
-                       g_variant_unref(iter_body);
                }
                g_variant_iter_free(iter);
        }
@@ -1100,7 +1099,6 @@ int notification_ipc_request_load_noti_detail_list(const char *pkgname,
                        notification_ipc_make_noti_from_gvariant(noti, noti_body);
                        *list = notification_list_append(*list, noti);
                        g_variant_unref(noti_body);
-                       g_variant_unref(iter_body);
                }
                g_variant_iter_free(iter);
        }