Selaa lähdekoodia

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

Daniel-Constantin Mierla 13 vuotta sitten
vanhempi
commit
7728464362
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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;
 	}
 }