diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-07-12 04:26:52 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-07-12 04:26:52 +0800 |
commit | 046bcbb23e12024a3ecc30ce98f1b120858a0449 (patch) | |
tree | 9daf924cb244882e1ad3bf455df9bb2aa202088e /my-evolution | |
parent | c4ad1ccccd6eeefe81b29878a63c5c6624186c00 (diff) | |
download | gsoc2013-evolution-046bcbb23e12024a3ecc30ce98f1b120858a0449.tar gsoc2013-evolution-046bcbb23e12024a3ecc30ce98f1b120858a0449.tar.gz gsoc2013-evolution-046bcbb23e12024a3ecc30ce98f1b120858a0449.tar.bz2 gsoc2013-evolution-046bcbb23e12024a3ecc30ce98f1b120858a0449.tar.lz gsoc2013-evolution-046bcbb23e12024a3ecc30ce98f1b120858a0449.tar.xz gsoc2013-evolution-046bcbb23e12024a3ecc30ce98f1b120858a0449.tar.zst gsoc2013-evolution-046bcbb23e12024a3ecc30ce98f1b120858a0449.zip |
Fix the memory corruption issue
svn path=/trunk/; revision=11013
Diffstat (limited to 'my-evolution')
-rw-r--r-- | my-evolution/ChangeLog | 7 | ||||
-rw-r--r-- | my-evolution/e-summary-mail.c | 1 | ||||
-rw-r--r-- | my-evolution/e-summary.c | 4 |
3 files changed, 11 insertions, 1 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index ed082fedb8..70fa60d0a6 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,5 +1,12 @@ 2001-07-11 Iain Holmes <iain@ximian.com> + * 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 <iain@ximian.com> + * e-summary.c (destroy): Destroy all the subcomponents. * e-summary-rdf.c (e_summary_rdf_free): Free and stop all tranfsers 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); |