[krbdev.mit.edu #6846] memory leak in gss krb5 error messaging 
     Arlene Berry  via RT 
    rt-comment at krbdev.mit.edu
       
    Thu Dec 23 18:29:05 EST 2010
    
    
  
Memory allocated by save_error_string_nocopy in
src/lib/gssapi/krb5/disp_status.c is not being freed.  This fixed it:
 
Index: src/lib/gssapi/krb5/disp_status.c
===================================================================
--- src/lib/gssapi/krb5/disp_status.c        (revision 53585)
+++ src/lib/gssapi/krb5/disp_status.c     (working copy)
@@ -148,6 +148,7 @@
void krb5_gss_delete_error_info(void *p)
{
     gsserrmap_destroy(p);
+    free(p);
}
 /**/
    
    
More information about the krb5-bugs
mailing list