[Bug] Fix memory leak accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250614.044605 accepted/tizen/unified/x/20250615.060245
authorj-h.choi <j-h.choi@samsung.com>
Fri, 13 Jun 2025 06:28:49 +0000 (15:28 +0900)
committer조웅석/MDE Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Fri, 13 Jun 2025 06:34:59 +0000 (15:34 +0900)
Change-Id: I434786e6ee2138bbd4db72738967484bfd38d98c

NativeLauncher/util/utils.cc

index f165ea42d621223f97f2970206c3dc0acbfd8b1c..2b8d8eb5332fe135d1d25c23546eed984793d428 100644 (file)
@@ -1049,6 +1049,7 @@ bool hasResControl(const std::string& pkgId)
 
                if (flag) {
                        resControl = true;
+                       pkgmgrinfo_appinfo_destroy_appinfo(app_handle);
                        break;
                }