diff options
author | Sam Spilsbury <smspillaz@gmail.com> | 2017-09-05 14:02:08 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2017-09-05 14:37:17 -0400 |
commit | b3aabada88350bfa10c97e6d5a8861ec4ac0a08d (patch) | |
tree | 513684162a987f86dfa9951e74dacb94976d168d /common | |
parent | 8e0fe0336acf33edcada046e9f117dfc15fe9146 (diff) | |
download | gdm-b3aabada88350bfa10c97e6d5a8861ec4ac0a08d.tar.gz |
settings: Make sure to set old settings global to NULL on finalize
https://bugzilla.gnome.org/show_bug.cgi?id=787288
Diffstat (limited to 'common')
-rw-r--r-- | common/gdm-settings.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/gdm-settings.c b/common/gdm-settings.c index 1040fbba..88b079bf 100644 --- a/common/gdm-settings.c +++ b/common/gdm-settings.c @@ -187,6 +187,8 @@ gdm_settings_finalize (GObject *object) g_object_unref (settings->priv->backend); } + settings_object = NULL; + G_OBJECT_CLASS (gdm_settings_parent_class)->finalize (object); } |