(memory leak)
authorEzra Peisach <epeisach@mit.edu>
Sun, 10 Jan 2010 04:31:51 +0000 (04:31 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sun, 10 Jan 2010 04:31:51 +0000 (04:31 +0000)
ktest_make_sample_ad_signedpath_data: Do not initialize client field twice.

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

src/tests/asn.1/ktest.c

index 370b640fba5b30a3b2a9de6e60029bdce546c3f8..eefbec9d51880c01716532e5835f107a9238c414 100644 (file)
@@ -868,8 +868,6 @@ krb5_error_code ktest_make_sample_ad_signedpath_data(p)
     retval = ktest_make_sample_principal(&p->delegated[0]);
     if (retval) return retval;
     p->delegated[1] = NULL;
-    retval = ktest_make_sample_principal(&p->client);
-    if (retval) return retval;
     retval = ktest_make_sample_authorization_data(&p->authorization_data);
     if (retval) return retval;
     retval = ktest_make_sample_pa_data_array(&p->method_data);