1
1
mirror of https://github.com/swaywm/sway synced 2024-11-18 00:24:17 +01:00

pango/cairo: set default font map to NULL to free it

This commit is contained in:
Dominique Martinet 2018-07-05 08:01:09 +09:00
parent fe72e3b349
commit 7ef08ffbe6

@ -1,6 +1,7 @@
#define _XOPEN_SOURCE 700
#define _POSIX_C_SOURCE 200112L
#include <getopt.h>
#include <pango/pangocairo.h>
#include <signal.h>
#include <stdbool.h>
#include <stdlib.h>
@ -441,5 +442,7 @@ int main(int argc, char **argv) {
free_config(config);
}
pango_cairo_font_map_set_default(NULL);
return exit_value;
}