summaryrefslogtreecommitdiffstats
path: root/tests/ecommunity_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ecommunity_test.c')
-rw-r--r--tests/ecommunity_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ecommunity_test.c b/tests/ecommunity_test.c
index da48865c..3a67228d 100644
--- a/tests/ecommunity_test.c
+++ b/tests/ecommunity_test.c
@@ -98,7 +98,7 @@ validate (struct ecommunity *ecom, const struct test_spec *sp)
str1,
(etmp && str2) ? str2 : "NULL");
}
- ecommunity_free (etmp);
+ ecommunity_free (&etmp);
XFREE (MTYPE_ECOMMUNITY_STR, str1);
XFREE (MTYPE_ECOMMUNITY_STR, str2);
@@ -123,7 +123,7 @@ parse_test (struct test_segment *t)
printf ("failed\n");
printf ("\n");
- ecommunity_unintern (ecom);
+ ecommunity_unintern (&ecom);
}