From: Junghyun Yeon Date: Thu, 16 Feb 2017 07:55:57 +0000 (+0900) Subject: Fix static analysis issue X-Git-Tag: submit/tizen_3.0/20170216.102709 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen_3.0%2F20170216.102709;p=platform%2Fcore%2Fappfw%2Fapp2sd.git Fix static analysis issue Change-Id: I1275ef8c1aa377dc0c8ffd1dfcc2ad8d88f3e0fe Signed-off-by: Junghyun Yeon --- diff --git a/plugin/app2sd/server/app2sd_interface.c b/plugin/app2sd/server/app2sd_interface.c index 31882e2..500819e 100644 --- a/plugin/app2sd/server/app2sd_interface.c +++ b/plugin/app2sd/server/app2sd_interface.c @@ -1637,6 +1637,7 @@ int app2sd_migrate_legacy_all(void) pc = pkgmgr_client_new(PC_REQUEST); if (pc == NULL) { _E("failed to create pkgmgr client"); + closedir(dir); return APP2EXT_ERROR_PKGMGR_ERROR; }