diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-10-06 06:02:53 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-10-06 06:02:53 +0800 |
commit | ef960f1216ade67969145104028d78a9124111e9 (patch) | |
tree | cf53bec499f3c0ed9907148fa16711605246a77e /my-evolution/e-summary-rdf.c | |
parent | e2aaec85d0e2d4fe32a869725645983274a2931b (diff) | |
download | gsoc2013-evolution-ef960f1216ade67969145104028d78a9124111e9.tar.gz gsoc2013-evolution-ef960f1216ade67969145104028d78a9124111e9.tar.zst gsoc2013-evolution-ef960f1216ade67969145104028d78a9124111e9.zip |
Fix a race condition
svn path=/trunk/; revision=13473
Diffstat (limited to 'my-evolution/e-summary-rdf.c')
-rw-r--r-- | my-evolution/e-summary-rdf.c | 9 |
1 files changed, 5 insertions, 4 deletions
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); |