summaryrefslogtreecommitdiff
path: root/wearable
diff options
context:
space:
mode:
authorJihoon Jung <jh8801.jung@samsung.com>2021-06-18 13:54:28 +0900
committerJihoon Jung <jh8801.jung@samsung.com>2021-06-18 13:55:27 +0900
commit8236bad414a0ae970c2e099298be20da48a39dad (patch)
tree5648296e552d771074ff040c19dfd0d0e7263f32 /wearable
parentcd99fb983afdd6d8bbcf68595d2b5354232e6ed6 (diff)
downloadug-nfc-efl-8236bad414a0ae970c2e099298be20da48a39dad.tar.gz
ug-nfc-efl-8236bad414a0ae970c2e099298be20da48a39dad.tar.bz2
ug-nfc-efl-8236bad414a0ae970c2e099298be20da48a39dad.zip
Change-Id: Ib47c40ec2f890dbc5c7111b1badb0f8a13c0dbc2 Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Diffstat (limited to 'wearable')
-rwxr-xr-xwearable/app/src/nsa-view-tap-n-pay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wearable/app/src/nsa-view-tap-n-pay.c b/wearable/app/src/nsa-view-tap-n-pay.c
index 2af6a07..6f5da50 100755
--- a/wearable/app/src/nsa-view-tap-n-pay.c
+++ b/wearable/app/src/nsa-view-tap-n-pay.c
@@ -192,6 +192,9 @@ static char *__get_launch_app_id(char *pkgid)
return strdup(pkgid);
ret = pkgmgrinfo_pkginfo_get_mainappid(pkginfo, &main_appid);
+
+ pkgmgrinfo_pkginfo_destroy_pkginfo(pkginfo);
+
if (ret == 0)
return strdup(main_appid);
else