projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ab1aa
)
close dir opened with opendir() - fixes accumulated fd for plugin state saves
author
Robin Gareus
<robin@gareus.org>
Tue, 10 Jun 2014 00:21:22 +0000
(
02:21
+0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 10 Jun 2014 00:21:22 +0000
(
02:21
+0200)
libs/pbd/clear_dir.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/clear_dir.cc
b/libs/pbd/clear_dir.cc
index c38713897b4740c0aaac18f899269240744f6357..5bf5277a11c9ee84c88081764dd554ac00c8d51b 100644
(file)
--- a/
libs/pbd/clear_dir.cc
+++ b/
libs/pbd/clear_dir.cc
@@
-129,4
+129,5
@@
PBD::remove_directory (const std::string& dir) {
if (::g_rmdir(dir.c_str())) {
error << string_compose (_("cannot remove directory %1 (%2)"), dir, strerror (errno)) << endmsg;
}
+ ::closedir (dead);
}