gtksourceview r1912 - in trunk: . gtksourceview



Author: jhs
Date: Thu Feb 28 11:22:34 2008
New Revision: 1912
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=1912&view=rev

Log:
2008-02-28  Johannes Schmid <jhs gnome org>

        * gtksourceview/gtksourceview.c: (gtk_source_view_paint_margin):
        Fixed a small memory leak



Modified:
   trunk/ChangeLog
   trunk/gtksourceview/gtksourceview.c

Modified: trunk/gtksourceview/gtksourceview.c
==============================================================================
--- trunk/gtksourceview/gtksourceview.c	(original)
+++ trunk/gtksourceview/gtksourceview.c	Thu Feb 28 11:22:34 2008
@@ -1386,6 +1386,7 @@
 			{
 				/* draw marks for the line */
 				draw_line_marks (view, marks, x_pixmap, pos);
+				g_slist_free (marks);
 			}
 		}
 	}



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