From 29d1300c864ce1289fa09b8117c59ddc91a25ea0 Mon Sep 17 00:00:00 2001 From: Tim Ruehsen Date: Wed, 18 Jun 2014 12:25:06 +0200 Subject: [PATCH] free allocated variable --- tests/test-registrable-domain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test-registrable-domain.c b/tests/test-registrable-domain.c index 8c492fb..c48ccae 100644 --- a/tests/test-registrable-domain.c +++ b/tests/test-registrable-domain.c @@ -66,6 +66,8 @@ static void test(const psl_ctx_t *psl, const char *domain, const char *expected_ printf("psl_registrable_domain(%s)=%s (expected %s)\n", domain, result ? result : "NULL", expected_result ? expected_result : "NULL"); } + + free(lower); } static void test_psl(void)