浏览代码

- 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
Henning Westerholt 16 年之前
父节点
当前提交
ec4a6f2a2c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules/db_postgres/km_dbase.c

+ 1 - 0
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;