forked from Telodendria/Telodendria
Relocate free() in HashMap to a sensible location.
This commit is contained in:
parent
560624ba98
commit
d9e355edb9
1 changed files with 2 additions and 3 deletions
|
@ -196,11 +196,10 @@ HashMapFree(HashMap * map)
|
|||
free(map->entries[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
free(map->entries);
|
||||
free(map);
|
||||
}
|
||||
}
|
||||
|
||||
void *
|
||||
HashMapGet(HashMap * map, const char *key)
|
||||
|
|
Loading…
Reference in a new issue