summaryrefslogtreecommitdiff
path: root/tests/aspath_test.c
diff options
context:
space:
mode:
authorpaul <paul>2006-01-16 12:06:00 +0000
committerpaul <paul>2006-01-16 12:06:00 +0000
commit6726f950ad25daa532e75dc7a6875b340ae0447d (patch)
treec58764ee0b640a72d433da936434f5768a685d31 /tests/aspath_test.c
parent8fdc32ab9a81cb80296d322346867c8c3d2b2b37 (diff)
2006-01-16 Paul Jakma <paul.jakma@sun.com>
* aspath_test.c: (validate) free the temporary aspaths. (empty_get_test) ditto.
Diffstat (limited to 'tests/aspath_test.c')
-rw-r--r--tests/aspath_test.c6
1 files changed, 5 insertions, 1 deletions
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 */