Browse Source

tm: rest the pointer of hash table after free to avoid double free on false start

Daniel-Constantin Mierla 13 years ago
parent
commit
7728464362
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/tm/h_table.c

+ 1 - 0
modules/tm/h_table.c

@@ -444,6 +444,7 @@ void free_hash_table(  )
 			}
 		}
 		shm_free(_tm_table);
+		_tm_table = 0;
 	}
 }