]> git.puffer.fish Git - matthieu/frr.git/commitdiff
2006-01-16 Paul Jakma <paul.jakma@sun.com>
authorpaul <paul>
Mon, 16 Jan 2006 12:06:00 +0000 (12:06 +0000)
committerpaul <paul>
Mon, 16 Jan 2006 12:06:00 +0000 (12:06 +0000)
* aspath_test.c: (validate) free the temporary aspaths.
  (empty_get_test) ditto.

tests/ChangeLog
tests/aspath_test.c

index 0469e3063f616139d4955d637e76a8882f460c54..0a6dc190a9d5a9abdb0b10d4e16480d37966f946 100644 (file)
@@ -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
index de67990b00461b1c7075ac05f5091f200db24a2f..beab685ed4b6bf4aee42e1e4293ece3bdd515111 100644 (file)
@@ -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 */