From: Myungki Lee Date: Mon, 21 Dec 2015 09:27:59 +0000 (+0900) Subject: Fix memory leak X-Git-Tag: accepted/tizen/mobile/20151222.090048^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab4c8706d1f223be9412c43cffe46427263f3b5a;p=platform%2Fcore%2Fappfw%2Fapp2sd.git Fix memory leak Change-Id: I005028f7575f1c46af158adf3085fbd02fe13430 Signed-off-by: Myungki Lee --- diff --git a/plugin/app2sd/src/app2sd_internals_utils.c b/plugin/app2sd/src/app2sd_internals_utils.c index fca7156..cac6db1 100755 --- a/plugin/app2sd/src/app2sd_internals_utils.c +++ b/plugin/app2sd/src/app2sd_internals_utils.c @@ -149,6 +149,7 @@ int _app2sd_delete_directory(char *dirname) if (lstat(abs_filename, &stFileInfo) < 0) { perror(abs_filename); + closedir(dp); return -1; }