From: Ezra Peisach Date: Sun, 10 Jan 2010 04:31:51 +0000 (+0000) Subject: (memory leak) X-Git-Tag: krb5-1.9-beta1~384 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c6cfb3231372a26ff8c4fc2f296a3646e3a21b8;p=krb5.git (memory leak) 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 --- diff --git a/src/tests/asn.1/ktest.c b/src/tests/asn.1/ktest.c index 370b640fb..eefbec9d5 100644 --- a/src/tests/asn.1/ktest.c +++ b/src/tests/asn.1/ktest.c @@ -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);