diff options
Diffstat (limited to 'contrib/unbound/respip/respip.c')
-rw-r--r-- | contrib/unbound/respip/respip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/unbound/respip/respip.c b/contrib/unbound/respip/respip.c index 9ee098def820..8fe82cdeec21 100644 --- a/contrib/unbound/respip/respip.c +++ b/contrib/unbound/respip/respip.c @@ -523,7 +523,7 @@ copy_rrset(const struct ub_packed_rrset_key* key, struct regional* region) return NULL; /* guard against integer overflow */ dsize += data->rr_len[i]; } - d = regional_alloc(region, dsize); + d = regional_alloc_zero(region, dsize); if(!d) return NULL; *d = *data; |