summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiwoong Im <jiwoong.im@samsung.com>2016-12-07 20:42:40 +0900
committerJiwoong Im <jiwoong.im@samsung.com>2016-12-07 20:43:23 +0900
commit07a2061109dd0db53543a5c69bde18f2751e1969 (patch)
tree761e560c40df2a6714f03e95831fef87655a746b
parent1f6eb8d73568d740a00350f7929938edbcb0777c (diff)
downloadalarm-manager-accepted/tizen/3.0/ivi/20161208.063754.tar.gz
alarm-manager-accepted/tizen/3.0/ivi/20161208.063754.tar.bz2
alarm-manager-accepted/tizen/3.0/ivi/20161208.063754.zip
Change-Id: Iad18257ff2afe4b3d0fd95f0629fb868eff6f09d Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
-rw-r--r--alarm-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/alarm-manager.c b/alarm-manager.c
index 7784353..48b106a 100644
--- a/alarm-manager.c
+++ b/alarm-manager.c
@@ -1756,6 +1756,8 @@ static void __alarm_expired()
ret = pkgmgrinfo_appinfo_get_usr_appinfo(appid, __alarm_info->uid, &appinfo_handle);
ALARM_MGR_LOG_PRINT("appid : %s (%x)", appid, appinfo_handle);
+ if (appinfo_handle)
+ pkgmgrinfo_appinfo_destroy_appinfo(appinfo_handle);
/* Case #2. The process was killed && App type
* This app is launched and owner of DBus connection is changed. and then, expiration noti is sent by DBus. */