diff --git a/tests/libslic3r/test_emboss.cpp b/tests/libslic3r/test_emboss.cpp index 0a3d95bf7..49a5825e0 100644 --- a/tests/libslic3r/test_emboss.cpp +++ b/tests/libslic3r/test_emboss.cpp @@ -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