blob: 8e511b506d8e89826ee561082321d01cb5edca94 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- src/utility.cc.orig Mon Apr 16 13:19:36 2001
+++ src/utility.cc Thu Nov 30 22:31:32 2006
@@ -40,6 +40,7 @@
filelist.push_back(filename);
}
}
+ closedir(curdir);
} else {
// There is something wrong with the directory. Probably
// doesn't exist
@@ -47,7 +48,6 @@
// directory
// throw std::invalid_argument("get_plugin_list: something is wrong with the directory " + directory);
}
- closedir(curdir);
return;
}
|