From b17aa9bdf70f588ebf2f4bef2a144394362aab11 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 10 May 2016 17:40:15 -0400 Subject: fix a memory leak --- src/display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/display.c b/src/display.c index 20487ff..92dfab3 100644 --- a/src/display.c +++ b/src/display.c @@ -409,6 +409,8 @@ static void runes_display_draw_glyphs( pango_cairo_show_layout(display->cr, display->layout); cairo_restore(display->cr); } + + free(buf); } static int runes_display_glyphs_are_monospace(RunesTerm *t, int width) -- cgit v1.2.3-54-g00ecf