Explorar el Código

tm: rest the pointer of hash table after free to avoid double free on false start
(cherry picked from commit 7728464362af67eff4dc105f16a1d42c72407cca)

Daniel-Constantin Mierla hace 13 años
padre
commit
dd7b6af538
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;
 	}
 }