summaryrefslogtreecommitdiff
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
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>
-rwxr-xr-xmobile/src/ug-nfc-setting-main.c2
-rwxr-xr-xwearable/app/src/nsa-view-tap-n-pay.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/mobile/src/ug-nfc-setting-main.c b/mobile/src/ug-nfc-setting-main.c
index 850f439..b2d90dd 100755
--- a/mobile/src/ug-nfc-setting-main.c
+++ b/mobile/src/ug-nfc-setting-main.c
@@ -83,6 +83,8 @@ static bool __reply_to_launch_request(app_control_h service, app_control_result_
app_control_reply_to_launch_request(reply, service, result);
ret = true;
}
+
+ free(operation);
}
app_control_destroy(reply);
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