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,10 +196,9 @@ HashMapFree(HashMap * map)
|
||||||
free(map->entries[i]);
|
free(map->entries[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
free(map->entries);
|
||||||
|
free(map);
|
||||||
}
|
}
|
||||||
|
|
||||||
free(map->entries);
|
|
||||||
free(map);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void *
|
void *
|
||||||
|
|
Loading…
Reference in a new issue