aboutsummaryrefslogtreecommitdiffstats
path: root/common/t-convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/t-convert.c')
-rw-r--r--common/t-convert.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/t-convert.c b/common/t-convert.c
index ad33dff9b..68824e0cd 100644
--- a/common/t-convert.c
+++ b/common/t-convert.c
@@ -234,6 +234,7 @@ test_bin2hex (void)
fail (0);
else if (strcmp (p, hexstuff))
fail (0);
+ xfree (p);
p = bin2hex (stuff, (size_t)(-1), NULL);
if (p)
@@ -266,6 +267,7 @@ test_bin2hexcolon (void)
fail (0);
else if (strcmp (p, hexstuff))
fail (0);
+ xfree (p);
p = bin2hexcolon (stuff, (size_t)(-1), NULL);
if (p)