From 0c6cfb3231372a26ff8c4fc2f296a3646e3a21b8 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sun, 10 Jan 2010 04:31:51 +0000 Subject: [PATCH] (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 --- src/tests/asn.1/ktest.c | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.26.2