The following bug has been logged online:
Bug reference: 4493
Logged by:
Email address: [EMAIL PROTECTED]
PostgreSQL version: Latest cvs
Operating system: Error in source code
Description: Memory leak in informix.c
Details:
In file src/interfaces/ecpg/compatlib/informix.c:763
It seems to me that variable "temp" leaks memory here if initValue() fails:
temp = (char *) malloc(fmt_len + 1);
/* put all info about the long in a struct */
if (!temp || initValue(lng_val) == -1)
{
errno = ENOMEM;
return -1;
}
--
Sent via pgsql-bugs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs