aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/cal-prefs-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/cal-prefs-dialog.c')
-rw-r--r--calendar/gui/dialogs/cal-prefs-dialog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c
index 2e61fc0bd5..639738c3bc 100644
--- a/calendar/gui/dialogs/cal-prefs-dialog.c
+++ b/calendar/gui/dialogs/cal-prefs-dialog.c
@@ -318,7 +318,8 @@ config_control_destroy_callback (GtkObject *object,
dialog_data = (DialogData *) data;
- /* (Nothing to free in the struct.) */
+ gtk_object_unref (GTK_OBJECT (dialog_data->xml));
+
g_free (dialog_data);
}