summaryrefslogtreecommitdiff
path: root/plugingui/directory.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-12-31 16:30:14 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-12-31 16:30:14 +0100
commit88052c9d3dbe22c5ce16ea03dadd00d85ee03b56 (patch)
tree32e0907ca2cc8f5b11912d6b8b24b021b8418d6a /plugingui/directory.cc
parent33fde43491bd5ac0c357b387e51524b142fdfe75 (diff)
Fix a couple of errors detected by coverity.
Diffstat (limited to 'plugingui/directory.cc')
-rw-r--r--plugingui/directory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/directory.cc b/plugingui/directory.cc
index c7a17b2..08bf59a 100644
--- a/plugingui/directory.cc
+++ b/plugingui/directory.cc
@@ -264,7 +264,7 @@ Directory::EntryList Directory::listFiles(std::string path, unsigned char filter
entries.push_back(file);
}
-
+ closedir(dir);
return entries;
}