Explorar o código

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

Daniel-Constantin Mierla %!s(int64=13) %!d(string=hai) anos
pai
achega
7728464362
Modificáronse 1 ficheiros con 1 adicións e 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;
 	}
 }