- Applied patch by Boszormenyi Zoltan <zb@cybertec.at> to add missing
";" to rule in pgc.l.
+
+Thu, 01 Oct 2009 19:31:57 +0200
+
+ - Applied patch by Boszormenyi Zoltan <zb@cybertec.at> to fix memory
+ leak in decimal handling.
- Set ecpg library version to 6.2.
- Set compat library version to 3.2.
- Set ecpg version to 4.6.
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/informix.c,v 1.61 2009/09/03 09:59:20 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/informix.c,v 1.62 2009/10/01 18:03:54 meskes Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
{
int i = PGTYPESnumeric_to_decimal(result, np);
- free(result);
+ PGTYPESnumeric_free(result);
if (i != 0)
ret = ECPG_INFORMIX_NUM_OVERFLOW;
}
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.44 2009/08/07 16:47:53 momjian Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.45 2009/10/01 18:03:54 meskes Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
else
PGTYPESnumeric_to_decimal(nres, (decimal *) (var + offset * act_tuple));
- free(nres);
+ PGTYPESnumeric_free(nres);
break;
case ECPGt_interval: