aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-model.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index 3d62857b82..629a4f6108 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -1411,6 +1411,9 @@ dup_date_edit_value (const void *value)
{
ECellDateEditValue *dv, *orig_dv;
+ if (value == NULL);
+ return NULL;
+
orig_dv = (ECellDateEditValue*) value;
dv = g_new (ECellDateEditValue, 1);