aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--my-evolution/ChangeLog5
-rw-r--r--my-evolution/e-summary-rdf.c9
2 files changed, 10 insertions, 4 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index c8b64d68b3..1977220e0b 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-05 Iain Holmes <iain@ximian.com>
+
+ * e-summary-rdf.c (e_summary_rdf_reconfigure): Set the RDF list to
+ NULL before destroying it to fix a race condition.
+
2001-10-04 Iain Holmes <iain@ximian.com>
* my-evolution.glade: Capitalise stuff
diff --git a/my-evolution/e-summary-rdf.c b/my-evolution/e-summary-rdf.c
index fa12df5996..fb2c1ccfae 100644
--- a/my-evolution/e-summary-rdf.c
+++ b/my-evolution/e-summary-rdf.c
@@ -640,14 +640,15 @@ e_summary_rdf_reconfigure (ESummary *summary)
/* Stop timeout */
gtk_timeout_remove (rdf->timeout);
- for (old = rdf->rdfs; old; old = old->next) {
+ old = rdf->rdfs;
+ rdf->rdfs = NULL;
+ for (p = old; p; p = p->next) {
RDF *r;
- r = old->data;
+ r = p->data;
rdf_free (r);
}
- g_list_free (rdf->rdfs);
- rdf->rdfs = NULL;
+ g_list_free (old);
for (p = summary->preferences->rdf_urls; p; p = p->next) {
e_summary_rdf_add_uri (summary, p->data);