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.
_______________________________________________
Devel mailing list
[email protected]
http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel