[Prevent] Closed directory.
authorJan Olszak <j.olszak@samsung.com>
Fri, 28 Dec 2012 12:42:39 +0000 (13:42 +0100)
committerGerrit Code Review <gerrit2@kim11>
Mon, 31 Dec 2012 10:53:48 +0000 (19:53 +0900)
[Issue] Unclosed directory
[Bug] N/A
[Cause] N/A
[Solution] Closed dir.
[Verification] Build installer.

Change-Id: If7157b840626673f5dfbd9233cd1215a5c4f339d

src/jobs/widget_install/task_file_manipulation.cpp

index b054e55..a41239e 100644 (file)
@@ -86,6 +86,7 @@ bool _FolderCopy(std::string source, std::string dest)
             infile.close();
         }
     } while(dEntry);
+    closedir(dir);
     return true;
 }
 }