Commit 5535ba13 authored by Milan Crha's avatar Milan Crha

Fix a possible memory leak in e-web-view.c:web_view_initialize()

parent ef0b4af7
......@@ -1274,8 +1274,10 @@ web_view_initialize (WebKitWebView *web_view)
settings_schema = g_settings_schema_source_lookup (
g_settings_schema_source_get_default (), id, FALSE);
if (settings_schema)
if (settings_schema) {
settings = e_util_ref_settings (id);
g_settings_schema_unref (settings_schema);
font_settings = e_util_ref_settings ("org.gnome.desktop.interface");
e_web_view_update_fonts_settings (
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment