svn rev #23769: trunk/src/tests/gssapi/

ghudson@MIT.EDU ghudson at MIT.EDU
Fri Mar 5 15:31:13 EST 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=23769
Commit By: ghudson
Log Message:
Fix a double-free in the t_spnego test program resulting from overly
careless cutting and pasting.



Changed Files:
U   trunk/src/tests/gssapi/t_spnego.c
Modified: trunk/src/tests/gssapi/t_spnego.c
===================================================================
--- trunk/src/tests/gssapi/t_spnego.c	2010-03-05 19:30:32 UTC (rev 23768)
+++ trunk/src/tests/gssapi/t_spnego.c	2010-03-05 20:31:13 UTC (rev 23769)
@@ -153,9 +153,6 @@
                                  NULL,
                                  &time_rec);
 
-    if (target_name != GSS_C_NO_NAME)
-        (void) gss_release_name(minor, &target_name);
-
     if (GSS_ERROR(major)) {
         displayStatus("gss_init_sec_context", major, *minor);
         return major;




More information about the cvs-krb5 mailing list