backend-wayland: fully release pango and fontconfig
This was not found in the test suite, but if you run wayland-backend manually with ASan, you see the same leaks as in backend-headless: fully release pango and fontconfig Fix them the same way. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
823580e070
commit
741c9e6a99
|
@ -2794,6 +2794,8 @@ wayland_destroy(struct weston_backend *backend)
|
|||
wl_display_flush(b->parent.wl_display);
|
||||
wl_display_disconnect(b->parent.wl_display);
|
||||
|
||||
cleanup_after_cairo();
|
||||
|
||||
free(b);
|
||||
}
|
||||
|
||||
|
@ -2970,6 +2972,7 @@ wayland_backend_destroy(struct wayland_backend *b)
|
|||
wl_cursor_theme_destroy(b->cursor_theme);
|
||||
|
||||
weston_compositor_shutdown(b->compositor);
|
||||
cleanup_after_cairo();
|
||||
free(b->formats);
|
||||
free(b);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue