diff options
Diffstat (limited to 'calendar/gui/dialogs/cal-prefs-dialog.c')
-rw-r--r-- | calendar/gui/dialogs/cal-prefs-dialog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c index 159a6b4578..724d4683a8 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.c +++ b/calendar/gui/dialogs/cal-prefs-dialog.c @@ -67,6 +67,11 @@ calendar_prefs_dialog_finalize (GObject *obj) g_object_unref (prefs->gui); + if (prefs->gconf) { + g_object_unref (prefs->gconf); + prefs->gconf = NULL; + } + ((GObjectClass *)(parent_class))->finalize (obj); } |