summaryrefslogtreecommitdiffstats
path: root/source/smbd/conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/conn.c')
-rw-r--r--source/smbd/conn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/smbd/conn.c b/source/smbd/conn.c
index 7e8a8383213..822ff5abcd4 100644
--- a/source/smbd/conn.c
+++ b/source/smbd/conn.c
@@ -165,12 +165,10 @@ void conn_free(connection_struct *conn)
{
/* Free vfs_connection_struct */
-#ifdef HAVE_LIBDL
if (conn->dl_handle != NULL) {
/* Close dlopen() handle */
sys_dlclose(conn->dl_handle);
}
-#endif /* HAVE_LIBDL */
DLIST_REMOVE(Connections, conn);