mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 15:37:48 +01:00
close dir opened with opendir() - fixes accumulated fd for plugin state saves
This commit is contained in:
parent
9fd95f2b4e
commit
d7a8c58aaa
1 changed files with 1 additions and 0 deletions
|
|
@ -128,4 +128,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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue