updated the 3.0 branch from the head branch - ready for alpha18
[ira/wip.git] / source3 / smbd / conn.c
index f552d4a22434a4ceaab28f27adc250c889629b08..c0aa447016041f2746a9f9d0920f4d512a6d1bcb 100644 (file)
@@ -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);