From a68b06226a6728c672ca480396c7ad01829811a6 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 15 Jul 2016 23:20:14 +0300 Subject: [PATCH] Fixed crash on free --- Core/symbol_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/symbol_hash.c b/Core/symbol_hash.c index 7f5cbe26..5af04f09 100644 --- a/Core/symbol_hash.c +++ b/Core/symbol_hash.c @@ -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); }