From 6f1f51aa2ccbd7c5e76079fbfcdb7ee459dc8cff Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Tue, 11 Aug 2015 15:59:00 +0900 Subject: [PATCH] Fix bug in pkg_info fix double free when input invalid filter property Change-Id: I20ef8a71af51b959482e25dc12fcc5b9024996e2 Signed-off-by: Sangyoon Jang --- tool/pkg_info.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tool/pkg_info.c b/tool/pkg_info.c index 693dd27..f4d6c2e 100644 --- a/tool/pkg_info.c +++ b/tool/pkg_info.c @@ -852,7 +852,6 @@ static int __add_pkg_filter(uid_t uid) break; default: printf("Invalid filter property\n"); - pkgmgrinfo_pkginfo_filter_destroy(handle); ret = -1; goto err; } -- 2.7.4