Browse Source

tm: print file name and line in free_cell() warning log message

Daniel-Constantin Mierla 10 years ago
parent
commit
bbf3f2a970
1 changed files with 2 additions and 1 deletions
  1. 2 1
      modules/tm/h_table.c

+ 2 - 1
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);
 	}