summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJusung Son <jusung07.son@samsung.com>2019-10-30 06:09:41 (GMT)
committerJusung Son <jusung07.son@samsung.com>2019-10-30 06:09:41 (GMT)
commit7d4dd18eb961304f2fc814c2af174c6e8be8f1e9 (patch)
tree1df106ac02e6a893c3696ef3f2a9f1eefc06f6e3
parenta9d15757d851a99ef8b8c05da63b469aa04f2150 (diff)
downloadalarm-manager-7d4dd18eb961304f2fc814c2af174c6e8be8f1e9.zip
alarm-manager-7d4dd18eb961304f2fc814c2af174c6e8be8f1e9.tar.gz
alarm-manager-7d4dd18eb961304f2fc814c2af174c6e8be8f1e9.tar.bz2
Change-Id: I616a8ae3b5d382ade36acb6afd7bcbf053180aea Signed-off-by: Jusung Son <jusung07.son@samsung.com>
-rw-r--r--server/alarm-manager-timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/alarm-manager-timer.c b/server/alarm-manager-timer.c
index fd20049..e0e876d 100644
--- 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;