diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-11-23 00:23:26 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-11-23 00:23:26 +0000 |
commit | 8ade0cf1b6eba966fdb3f2544a83c979195cef75 (patch) | |
tree | b072e66ce609decf86950c44a139c5e455191450 /source3/auth/auth_server.c | |
parent | 13a6b9833e7fdd5e4624ccf844e0f9932d9597c1 (diff) | |
download | samba-8ade0cf1b6eba966fdb3f2544a83c979195cef75.tar.gz samba-8ade0cf1b6eba966fdb3f2544a83c979195cef75.tar.bz2 samba-8ade0cf1b6eba966fdb3f2544a83c979195cef75.zip |
(Merge from 3.0)
Patch by emil@disksites.com <Emil Rasamat> to ensure we always always
free() each auth method. (We had relied on the use of talloc() only,
despite providing the free() callback)
Andrew Bartlett
(This used to be commit 58c4963a8389dff4d925548217fabed1c9932abd)
Diffstat (limited to 'source3/auth/auth_server.c')
-rw-r--r-- | source3/auth/auth_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c index b57293943c..41adc21784 100644 --- a/source3/auth/auth_server.c +++ b/source3/auth/auth_server.c @@ -143,8 +143,10 @@ static void free_server_private_data(void **private_data_pointer) { struct cli_state **cli = (struct cli_state **)private_data_pointer; if (*cli && (*cli)->initialised) { + DEBUG(10, ("Shutting down smbserver connection\n")); cli_shutdown(*cli); } + *private_data_pointer = NULL; } /**************************************************************************** |