yelp r3181 - in trunk: . src
- From: jdassen svn gnome org
- To: svn-commits-list gnome org
- Subject: yelp r3181 - in trunk: . src
- Date: Sat, 30 Aug 2008 11:22:13 +0000 (UTC)
Author: jdassen
Date: Sat Aug 30 11:22:13 2008
New Revision: 3181
URL: http://svn.gnome.org/viewvc/yelp?rev=3181&view=rev
Log:
Fix mismatched allocation/deallocation pair that caused a crash when viewing info:glibc (#520266)
Modified:
trunk/ChangeLog
trunk/src/yelp-info-parser.c
Modified: trunk/src/yelp-info-parser.c
==============================================================================
--- trunk/src/yelp-info-parser.c (original)
+++ trunk/src/yelp-info-parser.c Sat Aug 30 11:22:13 2008
@@ -419,7 +419,7 @@
debug_print (DB_DEBUG, "-- Processing Page %s\n\tParent: %s\n", node, up);
- iter = g_malloc0 (sizeof (GtkTreeIter));
+ iter = g_slice_alloc0 (sizeof (GtkTreeIter));
/* check to see if we need to process our parent and siblings */
if (up && g_ascii_strncasecmp (up, "(dir)", 5) && strcmp (up, "Top"))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]