[gtk/wip/baedert/for-master: 11/12] wayland: Fix a GSettingsSchema leak
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 11/12] wayland: Fix a GSettingsSchema leak
- Date: Sat, 29 Aug 2020 09:44:56 +0000 (UTC)
commit 47cf3af26a8a4e433268bd1d891126f028813cea
Author: Timm Bäder <mail baedert org>
Date: Sat Aug 29 11:38:07 2020 +0200
wayland: Fix a GSettingsSchema leak
gdk/wayland/gdkdisplay-wayland.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index 9be0bacfad..d5a97a4010 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -1557,6 +1557,9 @@ update_xft_settings (GdkDisplay *display)
order = GSD_FONT_RGBA_ORDER_RGB;
}
+ if (schema)
+ g_settings_schema_unref (schema);
+
dpi = get_dpi_from_gsettings (display_wayland) * 1024;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]