mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
- Fix alloc_reg_release for longer uptime in out of memory conditions.
git-svn-id: file:///svn/unbound/trunk@2270 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
fb4a5492da
commit
a2e4d07a4b
@ -1,5 +1,6 @@
|
||||
1 October 2010: Wouter
|
||||
- test for unbound-anchor. fix for reading certs.
|
||||
- Fix alloc_reg_release for longer uptime in out of memory conditions.
|
||||
|
||||
28 September 2010: Wouter
|
||||
- unbound-anchor working, it creates or updates a root.key file.
|
||||
|
@ -322,6 +322,7 @@ alloc_reg_release(struct alloc_cache* alloc, struct regional* r)
|
||||
regional_destroy(r);
|
||||
return;
|
||||
}
|
||||
if(!r) return;
|
||||
regional_free_all(r);
|
||||
log_assert(r->next == NULL);
|
||||
r->next = (char*)alloc->reg_list;
|
||||
|
Loading…
Reference in New Issue
Block a user