GNOME Bugzilla – Bug 306147
tag_id leaked
Last modified: 2005-06-21 17:59:23 UTC
noticed by muntian on irc: get_tag_id and get_language_id strudup the result and we are leaking in at least tag_style_changed_cb where we do if (strcmp (gtk_source_tag_get_id (tag), id) != 0) return; maybe in other places... If (and only if) we break abi: should we consider making these functions return const? (not sure since usually strdup protects you from having the object freed under your feets)
Fixed in CVS HEAD.