Relocate free() in HashMap to a sensible location.

This commit is contained in:
Jordan Bancino 2022-08-09 21:02:57 -04:00
parent 560624ba98
commit d9e355edb9

View file

@ -196,11 +196,10 @@ HashMapFree(HashMap * map)
free(map->entries[i]);
}
}
}
free(map->entries);
free(map);
}
}
void *
HashMapGet(HashMap * map, const char *key)