git-svn-id: file:///svn/unbound/trunk@330 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2007-05-22 15:02:39 +00:00
parent 687a99a82e
commit cc48ec587f
9 changed files with 59 additions and 35 deletions
+1 -1
View File
@@ -526,7 +526,7 @@ static int test_compfunc(void* key1, void* key2)
static void test_delkey(void* key, void* ATTR_UNUSED(arg), int l)
{
if(l) lock_rw_unlock(&((struct testkey*)key)->entry.lock);
if(l) { lock_rw_unlock(&((struct testkey*)key)->entry.lock); }
delkey((struct testkey*)key);
}
+1 -1
View File
@@ -406,7 +406,7 @@ static int test_compfunc(void* key1, void* key2)
static void test_delkey(void* key, void* ATTR_UNUSED(arg), int l)
{
if(l) lock_rw_unlock(&((struct slabtestkey*)key)->entry.lock);
if(l) { lock_rw_unlock(&((struct slabtestkey*)key)->entry.lock); }
delkey((struct slabtestkey*)key);
}