free allocated variable
This commit is contained in:
parent
57394eb1f8
commit
29d1300c86
|
@ -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",
|
printf("psl_registrable_domain(%s)=%s (expected %s)\n",
|
||||||
domain, result ? result : "NULL", expected_result ? expected_result : "NULL");
|
domain, result ? result : "NULL", expected_result ? expected_result : "NULL");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(lower);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_psl(void)
|
static void test_psl(void)
|
||||||
|
|
Loading…
Reference in New Issue