[gnome-terminal/gnome-3-40] settings: Fix crash when loading the reference schema source fails



commit 40d226a2d58b5bd2ef38ce9871c7b27fcd4a0928
Author: Christian Persch <chpe src gnome org>
Date:   Wed Jun 30 18:00:45 2021 +0200

    settings: Fix crash when loading the reference schema source fails
    
    https://retrace.fedoraproject.org/faf/reports/190312/
    (cherry picked from commit 48936582ddce1d1f23c0c42565887f63cd589187)

 src/terminal-util.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/terminal-util.c b/src/terminal-util.c
index b8b6f5a8..8f0d60e7 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -1928,7 +1928,6 @@ terminal_g_settings_schema_source_get_default(void)
                "Using unverified installed schemas.\n",
                error->message);
 
-    g_settings_schema_source_unref(reference_source);
     return g_settings_schema_source_ref(default_source);
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]