Free memory allocated to pkg_app_info 18/261518/1
authorLohit Agarwalla <l.agarwalla@samsung.com>
Tue, 20 Jul 2021 10:25:56 +0000 (15:55 +0530)
committerLohit Agarwalla <l.agarwalla@samsung.com>
Tue, 20 Jul 2021 10:25:56 +0000 (15:55 +0530)
Change-Id: I29511662ddc794f2bf844fed50c5bb46099a0deb
Signed-off-by: Lohit Agarwalla <l.agarwalla@samsung.com>
server/fido_app_id_handler.c

index 524d17a..6174b0e 100755 (executable)
@@ -564,6 +564,7 @@ __get_tz_facet_id_of_caller(const char *caller_app_id, GDBusMethodInvocation *in
                pkgmgrinfo_pkginfo_destroy_certinfo(cert_handle);
                _ERR("");
                pkgmgrinfo_pkginfo_destroy_pkginfo(handle);
+               pkgmgrinfo_appinfo_destroy_appinfo(pkg_app_info);
                return NULL;
        }