From f0080e5a3979fac94d6668cf6ee9d9f61302839c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 1 Jun 2000 17:01:34 +0000 Subject: Getting back to a compilable state (not there yet but close). Added patches for random -> sys_random. Added set_effective_xxx patches for AFS code. Memory allocation changes in spoolss code. Jeremy. (This used to be commit c2099cfb033c2cdb6035f4f7f50ce21b98e1584d) --- source3/smbd/conn.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/smbd') diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c index ebd18861fc..0e74b62ee0 100644 --- a/source3/smbd/conn.c +++ b/source3/smbd/conn.c @@ -168,11 +168,14 @@ void conn_free(connection_struct *conn) { /* Free vfs_connection_struct */ +#ifdef HAVE_LIBDL if (conn->vfs_conn != NULL) { /* Close dlopen() handle */ if (conn->vfs_conn->dl_handle) { dlclose(conn->vfs_conn->dl_handle); } +#endif /* HAVE_LIBDL */ + if (conn->vfs_conn->groups != NULL) { free(conn->vfs_conn->groups); } -- cgit