diff --git a/perf/benchmark-font.cc b/perf/benchmark-font.cc index 58c8bb0ee..e91b0a236 100644 --- a/perf/benchmark-font.cc +++ b/perf/benchmark-font.cc @@ -165,8 +165,8 @@ static void BM_Font (benchmark::State &state, for (auto _ : state) for (unsigned gid = 0; gid < num_glyphs; ++gid) hb_font_draw_glyph (font, gid, draw_funcs, nullptr); - break; hb_draw_funcs_destroy (draw_funcs); + break; } }