summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/neighbor/plugins/SmbclientNeighborPlugin.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
index 4ed196bef..d6b426f74 100644
--- a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
+++ b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
@@ -150,8 +150,6 @@ ReadServers(NeighborExplorer::List &list, int fd)
smbc_dirent *e;
while ((e = smbc_readdir(fd)) != nullptr)
ReadEntry(list, *e);
-
- smbc_closedir(fd);
}
static void