mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-21 02:25:36 +00:00
weston-terminal: Don't leak Cairo fonts
The docs say they're ours to unref. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
fc4fb9fb92
commit
d43931080e
|
@ -3025,6 +3025,9 @@ terminal_destroy(struct terminal *terminal)
|
|||
display_unwatch_fd(terminal->display, terminal->master);
|
||||
close(terminal->master);
|
||||
|
||||
cairo_scaled_font_destroy(terminal->font_bold);
|
||||
cairo_scaled_font_destroy(terminal->font_normal);
|
||||
|
||||
widget_destroy(terminal->widget);
|
||||
window_destroy(terminal->window);
|
||||
|
||||
|
|
Loading…
Reference in a new issue