This commit is contained in:
Stefan Frederik 2022-10-08 09:52:54 +02:00
parent 5c2b14ebb8
commit 4e6513e713
1 changed files with 1 additions and 1 deletions

View File

@ -817,7 +817,7 @@ Ptr_hashentry *ptr_hash_lookup(Ptr_hashtable *hashtable, const char *token, void
void ptr_hash_init(Ptr_hashtable *hashtable, int size) void ptr_hash_init(Ptr_hashtable *hashtable, int size)
{ {
if(hashtable-,>size !=0 || hashtable->table != NULL) { if(hashtable->size !=0 || hashtable->table != NULL) {
dbg(0, "ptr_hash_init(): Warning hash table not empty, possible data leak\n"); dbg(0, "ptr_hash_init(): Warning hash table not empty, possible data leak\n");
} }
hashtable->size = size; hashtable->size = size;