free allocated char* for hash table entry key
This commit is contained in:
@@ -118,6 +118,7 @@ void ENHashTableFree(ENHashTable *ht)
|
||||
while (entry != NULL)
|
||||
{
|
||||
nextentry = entry->next;
|
||||
free(entry->key);
|
||||
free(entry);
|
||||
entry = nextentry;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user