From 84f393a6cf75df90c7836fc2f3356a5543983779 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 22 Mar 2005 23:59:38 +0000 Subject: Fix memory and buffer problems. --- daemon/pgsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/pgsql.c') diff --git a/daemon/pgsql.c b/daemon/pgsql.c index 1870049..13ecd85 100644 --- a/daemon/pgsql.c +++ b/daemon/pgsql.c @@ -799,7 +799,7 @@ int pgsql_init(ha_context_t* context) ctx->pool = (PGconn**)malloc(sizeof(PGconn*) * ctx->pgsql_max); if(!ctx->pool) { - ha_messagex(NULL, LOG_CRIT, "out of memory"); + ha_memerr(NULL); return HA_CRITERROR; } -- cgit v1.2.3