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