Commit 072e81b3 authored by Simon Kelley's avatar Simon Kelley

Blockdata leak.

parent 1d97ac4f
...@@ -195,8 +195,9 @@ static void cache_free(struct crec *crecp) ...@@ -195,8 +195,9 @@ static void cache_free(struct crec *crecp)
big_free = crecp->name.bname; big_free = crecp->name.bname;
crecp->flags &= ~F_BIGNAME; crecp->flags &= ~F_BIGNAME;
} }
#ifdef HAVE_DNSSEC #ifdef HAVE_DNSSEC
else if (crecp->flags & (F_DNSKEY | F_DS)) if (crecp->flags & (F_DNSKEY | F_DS))
blockdata_free(crecp->addr.key.keydata); blockdata_free(crecp->addr.key.keydata);
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment