Fixed crash on free

This commit is contained in:
Lior Halphon 2016-07-15 23:20:14 +03:00
parent eaca0634aa
commit a68b06226a
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ GB_symbol_map_t *GB_map_alloc(void)
void GB_map_free(GB_symbol_map_t *map)
{
for (unsigned char i = 0; i < map->n_symbols; i++) {
for (unsigned i = 0; i < map->n_symbols; i++) {
free(map->symbols[i].name);
}