diff --git a/src/utils_dns.c b/src/utils_dns.c
index 2c7a59d343fb938ea7017c162317791830dbf646..991d346a4e4d034dade4423ea3ec9776747d28a4 100644 (file)
--- a/src/utils_dns.c
+++ b/src/utils_dns.c
if (ignore_list_match (addr) != 0)
return;
if (ignore_list_match (addr) != 0)
return;
- new = malloc (sizeof (ip_list_t));
+ new = malloc (sizeof (*new));
if (new == NULL)
{
perror ("malloc");
if (new == NULL)
{
perror ("malloc");