소스 검색

- 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;