summaryrefslogtreecommitdiff
path: root/wearable/app/src/nsa-view-tap-n-pay.c
diff options
context:
space:
mode:
Diffstat (limited to 'wearable/app/src/nsa-view-tap-n-pay.c')
-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