diff --git a/doc/Changelog b/doc/Changelog index 907197492..2dcaa4650 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ 29 September 2016: Wouter - Fix #838: 1.5.10 cannot be built on Solaris, undefined PATH_MAX. + - Fix #839: Memory grows unexpectedly with large RPZ files. 27 September 2016: Wouter - tag for 1.5.10 release diff --git a/services/localzone.c b/services/localzone.c index 3268477d7..6446e3f26 100644 --- a/services/localzone.c +++ b/services/localzone.c @@ -154,7 +154,7 @@ local_zone_create(uint8_t* nm, size_t len, int labs, z->namelen = len; z->namelabs = labs; lock_rw_init(&z->lock); - z->region = regional_create(); + z->region = regional_create_custom(sizeof(struct regional)); if(!z->region) { free(z); return NULL;