aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
diff options
context:
space:
mode:
authorJack Jia <jack.jia@sun.com>2003-08-27 09:58:30 +0800
committerJack Jia <jackjia@src.gnome.org>2003-08-27 09:58:30 +0800
commit5df098fe863b553ac040cabc652760c162084cb7 (patch)
tree3a8e9999cf035d7eef7e571fec8ab499168cbad5 /calendar/gui/alarm-notify
parenta09cef605f4fc1bfbfbb4d23d32106f710debc95 (diff)
downloadgsoc2013-evolution-5df098fe863b553ac040cabc652760c162084cb7.tar.gz
gsoc2013-evolution-5df098fe863b553ac040cabc652760c162084cb7.tar.zst
gsoc2013-evolution-5df098fe863b553ac040cabc652760c162084cb7.zip
** Fixes #47863.
2003-08-26 Jack Jia <jack.jia@sun.com> ** Fixes #47863. * gui/alarm-notify/alarm-notify.c (AlarmNotify_removeCalendar): set the initial value of lc_ptr and orig_str_ptr to NULL to avoid crash. svn path=/trunk/; revision=22380
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r--calendar/gui/alarm-notify/alarm-notify.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify.c b/calendar/gui/alarm-notify/alarm-notify.c
index 800eeb80f6..133448e7cd 100644
--- a/calendar/gui/alarm-notify/alarm-notify.c
+++ b/calendar/gui/alarm-notify/alarm-notify.c
@@ -297,6 +297,9 @@ AlarmNotify_removeCalendar (PortableServer_Servant servant,
gpointer lc_ptr, orig_str_ptr;
gboolean found;
+ lc_ptr = NULL;
+ orig_str_ptr = NULL;
+
an = ALARM_NOTIFY (bonobo_object_from_servant (servant));
priv = an->priv;