No empty if body in nonevent compile.

git-svn-id: file:///svn/unbound/trunk@171 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-03-09 14:55:57 +00:00
parent 39da393425
commit 31cc7670c6

View file

@ -77,8 +77,9 @@ alloc_clear(struct alloc_cache* alloc)
alloc_special_t* p, *np;
if(!alloc)
return;
if(!alloc->super)
if(!alloc->super) {
lock_quick_destroy(&alloc->lock);
}
if(alloc->super && alloc->quar) {
/* push entire list into super */
p = alloc->quar;