main.c: release default font map on exit

This commit is contained in:
Johan Malm 2020-08-18 20:07:14 +01:00
parent 9fc6e27252
commit 66b490d853

View file

@ -3,6 +3,9 @@
#include "theme/xbm/xbm.h" #include "theme/xbm/xbm.h"
#include "common/spawn.h" #include "common/spawn.h"
#include <cairo.h>
#include <pango/pangocairo.h>
struct server server = { 0 }; struct server server = { 0 };
struct rcxml rc = { 0 }; struct rcxml rc = { 0 };
struct theme theme = { 0 }; struct theme theme = { 0 };
@ -60,5 +63,6 @@ int main(int argc, char *argv[])
wl_display_run(server.wl_display); wl_display_run(server.wl_display);
server_finish(&server); server_finish(&server);
rcxml_finish(); rcxml_finish();
pango_cairo_font_map_set_default(NULL);
return 0; return 0;
} }