Forgot to clear hash table roots after deleting

Doesn't matter in normal usage, but causes tests to fail.
This commit is contained in:
Kovid Goyal 2017-11-13 16:09:04 +05:30
parent 244840255b
commit 084fb23930
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -169,7 +169,9 @@ free_maps(Font *font) {
s = s->next; \
free(t); \
} \
}}
}\
memset(font->attr, 0, sizeof(font->attr)); \
}
free_a_map(SpritePosition, sprite_map);
free_a_map(SpecialGlyphCache, special_glyph_cache);
#undef free_a_map