diff options
author | Damon Chaplin <damon@ximian.com> | 2001-10-31 07:24:48 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-10-31 07:24:48 +0800 |
commit | 4d38e3f08f6f5ed5144b0817807c031b26015bb3 (patch) | |
tree | e4d5c77fcf2052260f5d8cfc139f2f0a9b3497fa /calendar/gui/calendar-model.c | |
parent | 5bb794e211a6570880a36caede9acb837c833ccf (diff) | |
download | gsoc2013-evolution-4d38e3f08f6f5ed5144b0817807c031b26015bb3.tar.gz gsoc2013-evolution-4d38e3f08f6f5ed5144b0817807c031b26015bb3.tar.zst gsoc2013-evolution-4d38e3f08f6f5ed5144b0817807c031b26015bb3.zip |
return NULL if passed NULL. Should fix bug #14048.
2001-10-30 Damon Chaplin <damon@ximian.com>
* gui/calendar-model.c (dup_date_edit_value): return NULL if passed
NULL. Should fix bug #14048.
svn path=/trunk/; revision=14501
Diffstat (limited to 'calendar/gui/calendar-model.c')
-rw-r--r-- | calendar/gui/calendar-model.c | 3 |
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); |