From: Jaeho Lee Date: Thu, 24 Jan 2013 11:05:56 +0000 (+0900) Subject: fixed prevent issue X-Git-Tag: 2.1b_release~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b217eab7184ca2b3447344bee1f2182a1d143c95;p=framework%2Fappfw%2Faul-1.git fixed prevent issue Signed-off-by: Jaeho Lee --- diff --git a/am_daemon/amd_appinfo.c b/am_daemon/amd_appinfo.c index 9a00b45..cc0ed86 100755 --- a/am_daemon/amd_appinfo.c +++ b/am_daemon/amd_appinfo.c @@ -216,6 +216,7 @@ static void __vconf_cb(keynode_t *key, void *data) char *pkgname; pkgmgrinfo_appinfo_h handle; struct appinfomgr *cf = (struct appinfomgr *)data; + int ret; noti_string = vconf_keynode_get_str(key); if( noti_string == NULL ) { @@ -228,7 +229,10 @@ static void __vconf_cb(keynode_t *key, void *data) appid = strtok_r(NULL, ":", &saveptr); if ( strncmp(type_string, "create", 6) == 0) { - pkgmgrinfo_appinfo_get_appinfo(appid, &handle); + ret = pkgmgrinfo_appinfo_get_appinfo(appid, &handle); + if(ret < 0) { + _E("pkgmgrinfo_appinfo_get_appinfo fail"); + } _D("appid : %s /handle : %x", appid, handle); diff --git a/packaging/aul.spec b/packaging/aul.spec index 3784288..a36f5a1 100644 --- a/packaging/aul.spec +++ b/packaging/aul.spec @@ -1,6 +1,6 @@ Name: aul Summary: App utility library -Version: 0.0.236 +Version: 0.0.237 Release: 1 Group: System/Libraries License: Apache License, Version 2.0