Fix Linux memory leaks

This commit is contained in:
Filip Sykala 2022-03-25 15:50:13 +01:00
parent 50d52404d8
commit ee50af26c3

View File

@ -129,6 +129,7 @@ TEST_CASE("Read glyph C shape from font, stb library calls ONLY", "[Emboss]") {
stbtt_vertex *vertices;
int num_verts = stbtt_GetGlyphShape(&font_info, glyph_index, &vertices);
CHECK(num_verts > 0);
free(vertices);
}
#include <libslic3r/Utils.hpp>