diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-06 08:43:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 08:43:33 -0700 |
commit | 817e847749240a0c04756c37c88dc554efc56c9e (patch) | |
tree | ef2a716f8ea06ce8bdc63d1a682901b24e5bfcf0 /sway/main.c | |
parent | 55c54bb63b82ee75e1893b48b3ce18f7317c6199 (diff) | |
parent | b3c55dd909b070625c9bfcebcb89cb8463e2ffc9 (diff) |
Merge pull request #2206 from martinetd/leaks
Fix a bunch of leaks
Diffstat (limited to 'sway/main.c')
-rw-r--r-- | sway/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c index 96e41bbc..ec7353be 100644 --- a/sway/main.c +++ b/sway/main.c @@ -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; } |