Module: sip-router
Branch: janakj/postgres
Commit: ec4a6f2a2ce00e666c828f36e0afc0ddf4e44708
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ec4a6f2…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Wed Jan 7 14:46:10 2009 +0000
- add one DBG log to each drivers error condition, that the mem is freed
git-svn-id:
https://openser.svn.sourceforge.net/svnroot/openser/trunk@5431
689a6050-402a-0410-94f2-e92a70836424
---
modules/db_postgres/km_dbase.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/db_postgres/km_dbase.c b/modules/db_postgres/km_dbase.c
index da85c46..88075e3 100644
--- a/modules/db_postgres/km_dbase.c
+++ b/modules/db_postgres/km_dbase.c
@@ -414,6 +414,7 @@ int db_postgres_store_result(const db_con_t* _con, db_res_t** _r)
* (such as a SELECT or SHOW). */
if (db_postgres_convert_result(_con, *_r) < 0) {
LM_ERR("error while converting result\n");
+ LM_DBG("freeing result set at %p\n", _r);
pkg_free(*_r);
*_r = 0;
rc = -4;