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, 1 insertions, 1 deletions
diff --git a/source/smbd/conn.c b/source/smbd/conn.c
index f552d4a2243..c0aa4470160 100644
--- a/source/smbd/conn.c
+++ b/source/smbd/conn.c
@@ -166,7 +166,7 @@ void conn_free(connection_struct *conn)
if (conn->dl_handle != NULL) {
/* Close dlopen() handle */
- dlclose(conn->dl_handle);
+ sys_dlclose(conn->dl_handle);
}
DLIST_REMOVE(Connections, conn);