From 5df098fe863b553ac040cabc652760c162084cb7 Mon Sep 17 00:00:00 2001 From: Jack Jia Date: Wed, 27 Aug 2003 01:58:30 +0000 Subject: ** Fixes #47863. 2003-08-26 Jack Jia ** 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 --- calendar/gui/alarm-notify/alarm-notify.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'calendar/gui/alarm-notify') 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; -- cgit v1.2.3