mirror of
https://github.com/labwc/labwc.git
synced 2025-11-21 07:00:01 -05:00
tests: avoid fontconfig ASAN warnings
This commit is contained in:
parent
db02ef86b1
commit
84ebd2dae5
3 changed files with 7 additions and 1 deletions
|
|
@ -4,6 +4,8 @@
|
|||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <cairo.h>
|
||||
#include <pango/pangocairo.h>
|
||||
|
||||
#include "config/rcxml.h"
|
||||
#include "tap.h"
|
||||
|
|
@ -43,5 +45,6 @@ int main(int argc, char **argv)
|
|||
ok1(!strcmp(expect, actual.buf));
|
||||
free(actual.buf);
|
||||
free(source.buf);
|
||||
pango_cairo_font_map_set_default(NULL);
|
||||
return exit_status();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue