After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 300795 - memory leak in iter_has_syntax_tag (gtksourceview/gtksourcebuffer.c)
memory leak in iter_has_syntax_tag (gtksourceview/gtksourcebuffer.c)
Status: RESOLVED DUPLICATE of bug 300796
Product: gtksourceview
Classification: Platform
Component: General
1.2.x
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-15 20:44 UTC by Yevgen Muntyan
Modified: 2005-04-15 20:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yevgen Muntyan 2005-04-15 20:44:50 UTC
Version details: 1.2.0

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()
Comment 1 Yevgen Muntyan 2005-04-15 20:54:21 UTC
Oops, my browser fooled me and I submitted this bug twice. So this one is a 
duplicate of #300796 

*** This bug has been marked as a duplicate of 300796 ***