diff options
author | paul <paul> | 2006-01-16 12:06:00 +0000 |
---|---|---|
committer | paul <paul> | 2006-01-16 12:06:00 +0000 |
commit | 6726f950ad25daa532e75dc7a6875b340ae0447d (patch) | |
tree | c58764ee0b640a72d433da936434f5768a685d31 | |
parent | 8fdc32ab9a81cb80296d322346867c8c3d2b2b37 (diff) |
2006-01-16 Paul Jakma <paul.jakma@sun.com>
* aspath_test.c: (validate) free the temporary aspaths.
(empty_get_test) ditto.
-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 */ |