diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-14 15:30:34 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-31 20:17:10 +0100 |
commit | 5ad7665b6377768d3710b00b25aeb530131924cc (patch) | |
tree | 919dd4b84e1772ab8e77a222e29d4948c1cb85e2 /libcli/smb/smb_seal.c | |
parent | fce53e0e794f38782092be3433608772f5be7f2b (diff) | |
download | samba-5ad7665b6377768d3710b00b25aeb530131924cc.tar.gz |
libcli/smb: Convert struct smb_trans_enc_state to talloc
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli/smb/smb_seal.c')
-rw-r--r-- | libcli/smb/smb_seal.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libcli/smb/smb_seal.c b/libcli/smb/smb_seal.c index a56dc6092e9..d5bb2388bb9 100644 --- a/libcli/smb/smb_seal.c +++ b/libcli/smb/smb_seal.c @@ -200,25 +200,6 @@ NTSTATUS common_decrypt_buffer(struct smb_trans_enc_state *es, char *buf) } /****************************************************************************** - Shutdown an encryption state. -******************************************************************************/ - -void common_free_encryption_state(struct smb_trans_enc_state **pp_es) -{ - struct smb_trans_enc_state *es = *pp_es; - - if (es == NULL) { - return; - } - - if (es->gensec_security) { - TALLOC_FREE(es->gensec_security); - } - SAFE_FREE(es); - *pp_es = NULL; -} - -/****************************************************************************** Free an encryption-allocated buffer. ******************************************************************************/ |