git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3cfa29
)
r14218: Fix Coverity Bug # 2
author
Volker Lendecke
<vlendec@samba.org>
Sat, 11 Mar 2006 23:10:31 +0000
(23:10 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:15:17 +0000
(11:15 -0500)
source/libsmb/clikrb5.c
patch
|
blob
|
history
diff --git
a/source/libsmb/clikrb5.c
b/source/libsmb/clikrb5.c
index 55a705d7f0ff71f54c59539938c857dee99a6fa6..da3ef6a0e48d1df69e44d89f26b53ae8bcdc4620 100644
(file)
--- a/
source/libsmb/clikrb5.c
+++ b/
source/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 {