Fix a double-free in the t_spnego test program resulting from overly
authorGreg Hudson <ghudson@mit.edu>
Fri, 5 Mar 2010 20:31:13 +0000 (20:31 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 5 Mar 2010 20:31:13 +0000 (20:31 +0000)
careless cutting and pasting.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23769 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/gssapi/t_spnego.c

index e37b5adfe0c95cd77fa37cf0a2c15be0a5715035..91690b78645355c2634555fbee0554ee046a9259 100644 (file)
@@ -153,9 +153,6 @@ initAcceptSecContext(OM_uint32 *minor,
                                  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;