From caf5103d4befbaf7a2fdc01ef01484ae168e7657 Mon Sep 17 00:00:00 2001
From: Philip Withnall <withnall@endlessm.com>
Date: Wed, 23 Jan 2019 15:59:17 +0000
Subject: [PATCH 545/682] gsettingsbackend: Fix a minor memory leak

This never caused any problems because the default GSettingsBackend is
cached forever by GIOModule anyway.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
---
 gio/gsettingsbackend.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gio/gsettingsbackend.c b/gio/gsettingsbackend.c
index ca9b908a5..18026ae56 100644
--- a/gio/gsettingsbackend.c
+++ b/gio/gsettingsbackend.c
@@ -1052,5 +1052,7 @@ g_settings_backend_sync_default (void)
 
       if (class->sync)
         class->sync (backend);
+
+      g_object_unref (backend);
     }
 }
-- 
2.19.1

