diff options
author | Simo Sorce <idra@samba.org> | 2010-07-16 17:30:14 -0400 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-07-19 14:19:47 +1000 |
commit | cdcdaaa6dd61475b8c0f37ce140a77271175cc9d (patch) | |
tree | 29980a85b199666e2ab72507bd7822e02790fde9 /source3/auth | |
parent | 27aece72004a84a6e0b2e00987d8a362e307d1d8 (diff) | |
download | samba-cdcdaaa6dd61475b8c0f37ce140a77271175cc9d.tar.gz samba-cdcdaaa6dd61475b8c0f37ce140a77271175cc9d.tar.bz2 samba-cdcdaaa6dd61475b8c0f37ce140a77271175cc9d.zip |
s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.
All the members are children of ntlmssp_state anyway.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_ntlmssp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index ba7efbf48e..d343eef5ff 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -327,7 +327,7 @@ void auth_ntlmssp_end(struct auth_ntlmssp_state **auth_ntlmssp_state) mem_ctx = (*auth_ntlmssp_state)->mem_ctx; if ((*auth_ntlmssp_state)->ntlmssp_state) { - ntlmssp_end(&(*auth_ntlmssp_state)->ntlmssp_state); + TALLOC_FREE((*auth_ntlmssp_state)->ntlmssp_state); } if ((*auth_ntlmssp_state)->auth_context) { ((*auth_ntlmssp_state)->auth_context->free)(&(*auth_ntlmssp_state)->auth_context); |