GNOME Bugzilla – Bug 172352
small code cleanup in gedit-languages-manager.c::string_to_tag_style
Last modified: 2006-04-26 18:37:10 UTC
I'm attaching patches.
Created attachment 39554 [details] [review] patch against HEAD
Created attachment 39556 [details] [review] rewrite against new_mdI
Created attachment 49608 [details] [review] updated patch here is an updated patch for new_mdi, apart from some minor stylisitc changes it fixes a problem in the previous patch: if the first goto error is hit a null pointer was freed. [the leak itself has been plugged on HEAD, so the patch is only for new_mdi]
it's OK to g_free(NULL)
May be it is time to commit this patch. pbor?
well, it's just code cleanup (the leak was fixed) and since it has weited till today I think it can wait some more given that we are so near to the release...
The leak was not fixed. I just fixed it in CVS HEAD (2.13.x). We can apply the code cleanup patch as soon as we branch for 2.14.
Benoît: could you please apply the code cleanup to CVS HEAD?
give me some time to rework the patch, it doesn't apply anymore.
done.