svn rev #22307: trunk/src/lib/krb5/krb/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon May 4 13:16:38 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22307
Commit By: ghudson
Log Message:
Fix an error message memory leak in krb5_preauth_supply_preauth_data.



Changed Files:
U   trunk/src/lib/krb5/krb/preauth2.c
Modified: trunk/src/lib/krb5/krb/preauth2.c
===================================================================
--- trunk/src/lib/krb5/krb/preauth2.c	2009-05-04 17:06:43 UTC (rev 22306)
+++ trunk/src/lib/krb5/krb/preauth2.c	2009-05-04 17:16:38 UTC (rev 22307)
@@ -260,6 +260,7 @@
 	    emsg = krb5_get_error_message(context, retval);
 	    krb5int_set_error(&context->err, retval, "Preauth plugin %s: %s",
 			      context->preauth_context->modules[i].name, emsg);
+	    krb5_free_error_message(context, emsg);
 	    break;
 	}
     }




More information about the cvs-krb5 mailing list