diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 5 | ||||
-rw-r--r-- | tests/aspath_test.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 0469e306..0a6dc190 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2006-01-16 Paul Jakma <paul.jakma@sun.com> + + * aspath_test.c: (validate) free the temporary aspaths. + (empty_get_test) ditto. + 2006-01-10 Paul Jakma <paul.jakma@sun.com> * test-stream.c: new file, small unit test for new 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 */ |