From 56ee91d396ec181330008d6d3b0262ac503aae80 Mon Sep 17 00:00:00 2001 From: project-repo Date: Sat, 21 Mar 2020 09:49:16 +0100 Subject: [PATCH] Cleanup cairo and pandoc structures on exit --- cagebreak.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cagebreak.c b/cagebreak.c index 4a71480..aeddf84 100644 --- a/cagebreak.c +++ b/cagebreak.c @@ -10,6 +10,9 @@ #include "config.h" +#include +#include +#include #include #include #include @@ -533,5 +536,10 @@ end: with a proper wl_display. */ wl_display_destroy(server.wl_display); wlr_output_layout_destroy(server.output_layout); + + pango_cairo_font_map_set_default(NULL); + cairo_debug_reset_static_data(); + FcFini(); + return ret; }