projects
/
platform
/
core
/
appfw
/
alarm-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9d1575
)
Fix memory leak
53/216653/1
author
Jusung Son
<jusung07.son@samsung.com>
Wed, 30 Oct 2019 06:09:41 +0000
(15:09 +0900)
committer
Jusung Son
<jusung07.son@samsung.com>
Wed, 30 Oct 2019 06:09:41 +0000
(15:09 +0900)
Change-Id: I616a8ae3b5d382ade36acb6afd7bcbf053180aea
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
server/alarm-manager-timer.c
patch
|
blob
|
history
diff --git
a/server/alarm-manager-timer.c
b/server/alarm-manager-timer.c
index
fd20049
..
e0e876d
100644
(file)
--- a/
server/alarm-manager-timer.c
+++ b/
server/alarm-manager-timer.c
@@
-152,6
+152,7
@@
int _initialize_timer()
gpollfd = (GPollFD *) g_malloc(sizeof(GPollFD));
if (gpollfd == NULL) {
LOGE("Out of memory\n");
+ g_source_unref(src);
return -1;
}
gpollfd->events = G_IO_IN;