Fix static analysis issue
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 25 Feb 2021 06:45:08 +0000 (15:45 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 25 Feb 2021 06:45:08 +0000 (15:45 +0900)
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pkgmgrinfo_pkginfo.c

index 32de01c..32a1fa7 100644 (file)
@@ -157,7 +157,6 @@ static int _pkginfo_get_filtered_foreach_pkginfo(uid_t uid,
        }
 
        ret = _pkginfo_get_packages(uid, filter, flag, list);
-       pkgmgrinfo_pkginfo_filter_destroy(filter);
        if (ret != PMINFO_R_OK) {
                g_hash_table_destroy(list);
                return PMINFO_R_ERROR;