From 31cc7670c600de0e2065e5aad2e373a187ca0893 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 9 Mar 2007 14:55:57 +0000 Subject: [PATCH] No empty if body in nonevent compile. git-svn-id: file:///svn/unbound/trunk@171 be551aaa-1e26-0410-a405-d3ace91eadb9 --- util/alloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/alloc.c b/util/alloc.c index 7f6ad7566..933c64a32 100644 --- a/util/alloc.c +++ b/util/alloc.c @@ -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; -- 2.47.2