diff options
author | Martin Pool <mbp@samba.org> | 2002-01-09 07:52:51 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-01-09 07:52:51 +0000 |
commit | 391cbb690196537c8b6292b42c2e27408cc7e249 (patch) | |
tree | 8e059e9d7ae89c9ef415ff39d68cfae96868f4dd /source/smbd/server.c | |
parent | fb8ab69b6f638c41d734282488be91d85b4ec057 (diff) | |
download | samba-391cbb690196537c8b6292b42c2e27408cc7e249.tar.gz samba-391cbb690196537c8b6292b42c2e27408cc7e249.tar.xz samba-391cbb690196537c8b6292b42c2e27408cc7e249.zip |
Better explanation message for dmalloc.
Also more insertion of parenthesis to handle struct members called
'free'.
You can now get useful dmalloc output, as long as it is compatible
with your C library. On RH7.1 it looks like you have to rebuild
dmalloc to allow free(0) by default, because something in libcrypt
does that. (sigh)
Diffstat (limited to 'source/smbd/server.c')
-rw-r--r-- | source/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c index a8c1bc5c15e..b523659dbf5 100644 --- a/source/smbd/server.c +++ b/source/smbd/server.c @@ -486,7 +486,7 @@ void exit_server(char *reason) DEBUG(2,("Closing connections\n")); if (negprot_global_auth_context) { - negprot_global_auth_context->free(&negprot_global_auth_context); + (negprot_global_auth_context->free)(&negprot_global_auth_context); } conn_close_all(); |