Fix Linux memory leaks
This commit is contained in:
parent
50d52404d8
commit
ee50af26c3
@ -129,6 +129,7 @@ TEST_CASE("Read glyph C shape from font, stb library calls ONLY", "[Emboss]") {
|
|||||||
stbtt_vertex *vertices;
|
stbtt_vertex *vertices;
|
||||||
int num_verts = stbtt_GetGlyphShape(&font_info, glyph_index, &vertices);
|
int num_verts = stbtt_GetGlyphShape(&font_info, glyph_index, &vertices);
|
||||||
CHECK(num_verts > 0);
|
CHECK(num_verts > 0);
|
||||||
|
free(vertices);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <libslic3r/Utils.hpp>
|
#include <libslic3r/Utils.hpp>
|
||||||
|
Loading…
Reference in New Issue
Block a user