fixed format string argument error, resulting in crash

fixed memleak if pool not found
This commit is contained in:
Martin Willi
2009-03-03 14:56:17 +00:00
parent 7b2a032d28
commit d9ad73d867
2 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ static u_int get_pool(private_sql_attribute_t *this, char *name, u_int *timeout)
e->destroy(e);
return pool;
}
DBG1(DBG_CFG, "ip pool '%s' not found");
DESTROY_IF(e);
return 0;
}