Ticket #7084: fileiter.cpp_patch

File fileiter.cpp_patch, 366 bytes (added by Gaurav Gupta <g.gupta@…>, 10 years ago)

Fix for the reported Bug.

Line 
1diff -Naur a/libs/regex/src/fileiter.cpp b/libs/regex/src/fileiter.cpp
2--- a/libs/regex/src/fileiter.cpp 2012-07-05 16:47:40.000000000 +0530
3+++ b/libs/regex/src/fileiter.cpp 2012-07-05 17:24:39.000000000 +0530
4@@ -876,6 +876,7 @@
5 {
6 if(_fi_FindNextFile(dat, lpFindFileData))
7 return dat;
8+ closedir(dat->d);
9 }
10 delete dat;
11 return 0;