From 6726f950ad25daa532e75dc7a6875b340ae0447d Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 16 Jan 2006 12:06:00 +0000 Subject: 2006-01-16 Paul Jakma * aspath_test.c: (validate) free the temporary aspaths. (empty_get_test) ditto. --- tests/aspath_test.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/aspath_test.c') diff --git a/tests/aspath_test.c b/tests/aspath_test.c index de67990b..beab685e 100644 --- a/tests/aspath_test.c +++ b/tests/aspath_test.c @@ -621,7 +621,9 @@ validate (struct aspath *as, const struct test_spec *sp) aspath_private_as_check (as)); } aspath_unintern (asinout); - /* aspath_unintern (asconfeddel);*/ + aspath_free (asconfeddel); + aspath_free (asstr); + return fails; } @@ -639,6 +641,8 @@ empty_get_test () printf ("failed!\n"); printf ("\n"); + + aspath_free (as); } /* basic parsing test */ -- cgit v1.2.1