Index: src/map.c ================================================================== --- src/map.c +++ src/map.c @@ -67,10 +67,11 @@ for (i = 0; i < map->size; i++) { if (map->data[i] != NULL && map->data[i] != &deleted) { cfw_unref(map->data[i]->key); cfw_unref(map->data[i]->obj); + free(map->data[i]); } } if (map->data != NULL) free(map->data);