Fix bug in pkg_info 75/45775/1 accepted/tizen/mobile/20150813.012025 accepted/tizen/tv/20150813.012036 accepted/tizen/wearable/20150813.012049 submit/tizen/20150811.103743 submit/tizen/20150812.102005 submit/tizen_mobile/20150812.025625
authorSangyoon Jang <s89.jang@samsung.com>
Tue, 11 Aug 2015 06:59:00 +0000 (15:59 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Tue, 11 Aug 2015 06:59:00 +0000 (15:59 +0900)
fix double free when input invalid filter property

Change-Id: I20ef8a71af51b959482e25dc12fcc5b9024996e2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
tool/pkg_info.c

index 693dd27..f4d6c2e 100644 (file)
@@ -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;
                }