[Kamailio-Devel] SF.net SVN: openser:[5433] branches/1.4/modules/db_postgres/val.c
Henning Westerholt
henning.westerholt at 1und1.de
Wed Jan 7 16:17:04 CET 2009
Revision: 5433
http://openser.svn.sourceforge.net/openser/?rev=5433&view=rev
Author: henningw
Date: 2009-01-07 15:17:04 +0000 (Wed, 07 Jan 2009)
Log Message:
-----------
- backport from trunk, rev5250
- fix memory leak in db_postgres module related to BLOBs (also caused an
abort in a assertion when DBG_QM_MALLOC memory manager is used)
- PQunescapeBytea is used for BLOBs, this allocates new memory, which could
not freed from us later in pkg_free in the DB core
- thus we need to allocate new memory for this datatype, copy the string and
free the postgres result after that
- small comment fix
Revision Links:
--------------
http://openser.svn.sourceforge.net/openser/?rev=5250&view=rev
Modified Paths:
--------------
branches/1.4/modules/db_postgres/val.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Devel
mailing list