mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 10:40:46 -04:00
18 lines
533 B
C++
18 lines
533 B
C++
--- 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;
|
|
}
|
|
|