projects
/
platform
/
core
/
api
/
notification.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e05516
)
Fix memory leak
53/246653/1
author
Changgyu Choi
<changyu.choi@samsung.com>
Tue, 3 Nov 2020 02:21:57 +0000
(11:21 +0900)
committer
Changgyu Choi
<changyu.choi@samsung.com>
Tue, 3 Nov 2020 02:22:02 +0000
(11:22 +0900)
Change-Id: I9cd3053c71053b2d7ad5a1ec638e1edd1c345a2e
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
notification/src/notification_ipc.c
patch
|
blob
|
history
diff --git
a/notification/src/notification_ipc.c
b/notification/src/notification_ipc.c
index
a4c79a4
..
2c2a5cf
100644
(file)
--- a/
notification/src/notification_ipc.c
+++ b/
notification/src/notification_ipc.c
@@
-481,6
+481,7
@@
static void _delete_multiple_notify(GVariant *parameters)
buf = (int *)malloc(sizeof(int) * num);
if (buf == NULL) {
ERR("Failed to alloc");
+ g_variant_iter_free(iter);
return;
}
@@
-523,6
+524,7
@@
static void _delete_by_display_applist_notify(GVariant *parameters)
buf = (int *)malloc(sizeof(int) * num);
if (buf == NULL) {
ERR("Failed to alloc");
+ g_variant_iter_free(iter);
return;
}