diff options
author | Jihoon Jung <jh8801.jung@samsung.com> | 2021-06-18 13:54:28 +0900 |
---|---|---|
committer | Jihoon Jung <jh8801.jung@samsung.com> | 2021-06-18 13:55:27 +0900 |
commit | 8236bad414a0ae970c2e099298be20da48a39dad (patch) | |
tree | 5648296e552d771074ff040c19dfd0d0e7263f32 /wearable | |
parent | cd99fb983afdd6d8bbcf68595d2b5354232e6ed6 (diff) | |
download | ug-nfc-efl-8236bad414a0ae970c2e099298be20da48a39dad.tar.gz ug-nfc-efl-8236bad414a0ae970c2e099298be20da48a39dad.tar.bz2 ug-nfc-efl-8236bad414a0ae970c2e099298be20da48a39dad.zip |
Fix Coverity issuesHEADtizen_9.0_m2_releasetizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasesubmit/tizen_6.5/20211028.161201submit/tizen/20210623.003141accepted/tizen/unified/20210624.131843accepted/tizen/9.0/unified/20241030.231936accepted/tizen/8.0/unified/20231005.092357accepted/tizen/7.0/unified/hotfix/20221116.104309accepted/tizen/7.0/unified/20221110.060227accepted/tizen/6.5/unified/20211028.093116tizen_9.0tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5tizenaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unified
Change-Id: Ib47c40ec2f890dbc5c7111b1badb0f8a13c0dbc2
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Diffstat (limited to 'wearable')
-rwxr-xr-x | wearable/app/src/nsa-view-tap-n-pay.c | 3 |
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 |