Module: kamailio
Branch: master
Commit: bbf3f2a970020116da8c4c50069713e31a268943
URL:
https://github.com/kamailio/kamailio/commit/bbf3f2a970020116da8c4c50069713e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-11-05T08:59:23+01:00
tm: print file name and line in free_cell() warning log message
---
Modified: modules/tm/h_table.c
---
Diff:
https://github.com/kamailio/kamailio/commit/bbf3f2a970020116da8c4c50069713e…
Patch:
https://github.com/kamailio/kamailio/commit/bbf3f2a970020116da8c4c50069713e…
---
diff --git a/modules/tm/h_table.c b/modules/tm/h_table.c
index 8965cff..5aee155 100644
--- a/modules/tm/h_table.c
+++ b/modules/tm/h_table.c
@@ -126,7 +126,8 @@ void free_cell_helper( struct cell* dead_cell, const char *fname,
unsigned int f
LM_DBG("freeing transaction %p from %s:%u\n", dead_cell, fname, fline);
if(dead_cell->prev_c!=NULL && dead_cell->next_c!=NULL) {
- LM_WARN("removed cell %p is still linked in hash table\n", dead_cell);
+ LM_WARN("removed cell %p is still linked in hash table (%s:%u)\n",
+ dead_cell, fname, fline);
unlink_timers(dead_cell);
remove_from_hash_table_unsafe(dead_cell);
}