yelp/yelp-2.18.1-info-bc-crash.patch
Matthias Clasen fb9904313d fix patch
2007-04-16 16:43:11 +00:00

16 lines
424 B
Diff

--- yelp-2.18.1/src/yelp-info-parser.c.info-bc 2007-03-26 01:33:52.000000000 -0400
+++ yelp-2.18.1/src/yelp-info-parser.c 2007-03-26 01:22:15.000000000 -0400
@@ -354,6 +354,12 @@
title = gtk_tree_model_get_string_from_iter (model, r);
}
+ if (!g_str_equal (title, reftitle))
+ {
+ gtk_tree_iter_free (tmp);
+ tmp = NULL;
+ }
+
gtk_tree_iter_free (r);
g_free (title);
g_free (reftitle);