From 046bcbb23e12024a3ecc30ce98f1b120858a0449 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Wed, 11 Jul 2001 20:26:52 +0000 Subject: Fix the memory corruption issue svn path=/trunk/; revision=11013 --- my-evolution/ChangeLog | 7 +++++++ my-evolution/e-summary-mail.c | 1 - my-evolution/e-summary.c | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) (limited to 'my-evolution') diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index ed082fedb8..70fa60d0a6 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,10 @@ +2001-07-11 Iain Holmes + + * e-summary.c (destroy): Destroy the alarm. + (e_summary_init): Init the alarm. + + * e-summary-mail.c (free_folder): Don't free the value. + 2001-07-11 Iain Holmes * e-summary.c (destroy): Destroy all the subcomponents. diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c index 1cd3a1ec16..2d9293acbe 100644 --- a/my-evolution/e-summary-mail.c +++ b/my-evolution/e-summary-mail.c @@ -450,7 +450,6 @@ free_folder (gpointer key, g_free (folder->name); g_free (folder->path); g_free (folder); - g_free (value); } void diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c index db43067a17..b41cc9d426 100644 --- a/my-evolution/e-summary.c +++ b/my-evolution/e-summary.c @@ -113,6 +113,9 @@ destroy (GtkObject *object) e_summary_tasks_free (summary); } + alarm_remove (priv->alarm); + alarm_done (); + g_free (priv); summary->priv = NULL; @@ -408,6 +411,7 @@ e_summary_init (ESummary *summary) priv->protocol_hash = NULL; priv->connections = NULL; + alarm_init (); t = time (NULL); day_end = time_day_end (t); priv->alarm = alarm_add (day_end, alarm_fn, summary, NULL); -- cgit v1.2.3