GNOME Bugzilla – Bug 300796
memory leak in iter_has_syntax_tag (gtksourceview/gtksourcebuffer.c)
Last modified: 2005-06-21 17:31:00 UTC
That function has the following: --------------------------------------------- list = gtk_text_iter_get_tags (iter); ... while ((list != NULL) && (tag == NULL)) { ... list = g_slist_next (list); } g_slist_free (list); ---------------------------------------------- So it potentially doesn't free whole list obtained by get_tags()
Created attachment 45302 [details] [review] The patch
Sorry, forgot to tell: I tested patch with tests/test-widget and in my project, doesn't seem to break anything. Don't know how to test it with gedit.
*** Bug 300795 has been marked as a duplicate of this bug. ***
Created attachment 45317 [details] [review] Patch for gtksourceview/gtksourcebuffer.c + Changelog
Fixed in CVS HEAD.