From ee50af26c3860b4b8a30cc539e06450883d83098 Mon Sep 17 00:00:00 2001 From: Filip Sykala Date: Fri, 25 Mar 2022 15:50:13 +0100 Subject: [PATCH] Fix Linux memory leaks --- tests/libslic3r/test_emboss.cpp | 1 + 1 file changed, 1 insertion(+) 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