[krbdev.mit.edu #6299] krb5_stdccv3_remove mem leak
Zhanna Tsitkova via RT
rt-comment at krbdev.mit.edu
Fri Dec 12 15:09:14 EST 2008
diff -Nur -x '*~' -x '*.orig' -x '*.rej' -x '*.pbxbtree' -x '*.pbxindex' -x lha.mode1v3 -x lha.mode2v3 -x lha.pbxuser -x windows -x .DS_Store Kerberos.AEP-6.5fc1.orig/KerberosFramework/Kerberos5/Sources/lib/krb5/ccache/ccapi/stdcc.c Kerberos.AEP-6.5fc1/KerberosFramework/Kerberos5/Sources/lib/krb5/ccache/ccapi/stdcc.c
--- Kerberos.AEP-6.5fc1.orig/KerberosFramework/Kerberos5/Sources/lib/krb5/ccache/ccapi/stdcc.c 2008-12-08 14:02:55.000000000 -0800
+++ Kerberos.AEP-6.5fc1/KerberosFramework/Kerberos5/Sources/lib/krb5/ccache/ccapi/stdcc.c 2008-12-09 11:52:11.000000000 -0800
@@ -851,6 +851,8 @@
}
if (err == ccIteratorEnd) { err = ccErrCredentialsNotFound; }
+ if (iterator) cc_credentials_iterator_release (iterator);
+
if (!err) {
cache_changed ();
}
More information about the krb5-bugs
mailing list