diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-03-11 23:10:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:17 -0500 |
commit | 6c3519d0af8fa14eb8dce4bd7afa0dcff6c9ddfc (patch) | |
tree | 6063d654bb72b8d638406ab9cc2ab391f8252330 | |
parent | e6f82d5c3659c5dbe7b2b8dd8c668098e64d3502 (diff) | |
download | samba-6c3519d0af8fa14eb8dce4bd7afa0dcff6c9ddfc.tar.gz samba-6c3519d0af8fa14eb8dce4bd7afa0dcff6c9ddfc.tar.bz2 samba-6c3519d0af8fa14eb8dce4bd7afa0dcff6c9ddfc.zip |
r14218: Fix Coverity Bug # 2
(This used to be commit 26377b63a3a3d2d5ed23bdbb5f22b70ec7d3fcad)
-rw-r--r-- | source3/libsmb/clikrb5.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index 55a705d7f0..da3ef6a0e4 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -898,7 +898,6 @@ krb5_error_code decode_krb5_ap_req(const krb5_data *code, krb5_ap_req **rep); krb5_keyblock **keyblock) { krb5_error_code ret; - krb5_ap_req *ap_req = NULL; krb5_kvno kvno; krb5_enctype enctype; krb5_keyblock *local_keyblock; @@ -930,10 +929,6 @@ krb5_error_code decode_krb5_ap_req(const krb5_data *code, krb5_ap_req **rep); } out: - if (ap_req) { - smb_krb5_free_ap_req(context, ap_req); - } - if (ret && local_keyblock != NULL) { krb5_free_keyblock(context, local_keyblock); } else { |