From d9ad73d867e99870a25f4cad47bf50ee0a878821 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 3 Mar 2009 14:56:17 +0000 Subject: fixed format string argument error, resulting in crash fixed memleak if pool not found --- src/charon/plugins/sql/sql_attribute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/charon/plugins/sql/sql_attribute.c') diff --git a/src/charon/plugins/sql/sql_attribute.c b/src/charon/plugins/sql/sql_attribute.c index cd6f7c0cd..826aa8318 100644 --- a/src/charon/plugins/sql/sql_attribute.c +++ b/src/charon/plugins/sql/sql_attribute.c @@ -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; } -- cgit v1.2.3