[evolution-rss] fix for #598570 - evolution crashed with SIGSEGV in g_markup_escape_text()



commit 5a36d78ed31e75cecddb7dae744fd92e2ab038e8
Author: Lucian Langa <lucilanga gnome org>
Date:   Tue Oct 27 23:18:37 2009 +0200

    fix for #598570 -  evolution crashed with SIGSEGV in g_markup_escape_text()

 src/parser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/parser.c b/src/parser.c
index 94c1131..ec0cc37 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -1066,7 +1066,7 @@ update_channel(RDF *r)
 		else
 			CF->full_path	= g_strdup(chn_name);
 
-		subj = CF->subj;
+		subj = g_strdup(CF->subj);
 
 		while (gtk_events_pending())
 		  gtk_main_iteration ();
@@ -1090,8 +1090,8 @@ update_channel(RDF *r)
 			}
 			farticle++;
 			d(g_print("put success()\n"));
-//g_print("subj:%s\n", subj);
 			update_status_icon(chn_name, subj);
+			g_free(subj);
 		} else
 			free_cf(CF);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]