From b4b63624248223bfad9c60ecbdc30614992e1765 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Thu, 30 Apr 1998 05:54:48 +0000 Subject: Fix for SM code, I was allocating less than needed (thanks to federico for quickly spotting my mistake) -mig svn path=/trunk/; revision=202 --- calendar/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/main.c') diff --git a/calendar/main.c b/calendar/main.c index aab8c9947b..64b58cb1fc 100644 --- a/calendar/main.c +++ b/calendar/main.c @@ -553,7 +553,7 @@ session_save_state (GnomeClient *client, gint phase, GnomeRestartStyle save_styl GnomeInteractStyle interact_style, gint fast, gpointer client_data) { char *sess_id; - char **argv = (char **) g_malloc ((active_calendars * 4) + 2); + char **argv = (char **) g_malloc (sizeof (char *) * ((active_calendars * 4) + 3)); GList *l, *free_list = 0; int i; -- cgit v1.2.3