mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
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>
This commit is contained in:
parent
5beed066d1
commit
caf5103d4b
@ -1052,5 +1052,7 @@ g_settings_backend_sync_default (void)
|
||||
|
||||
if (class->sync)
|
||||
class->sync (backend);
|
||||
|
||||
g_object_unref (backend);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user