GNOME Bugzilla – Bug 695119
text: Fix PangoFontDescription leak
Last modified: 2013-03-04 23:10:37 UTC
Created attachment 237970 [details] [review] text: Fix PangoFontDescription leak patch attached
Created attachment 237976 [details] [review] thanks for the patch! it's much appreciated. I do think that the current semantics of set_font_description_internal() are actually bonghits; setters (event internal ones) should just copy the objects they are passed, and not play games with ownership transfer, lest we find ourselves into situations like these. the following patch makes set_font_description_internal() work like the rest of the Clutter setters, and leaves the ownership of the passed PangoFontDescription to the callers. it would be great if you could test it. thanks again!
Review of attachment 237976 [details] [review]: Looks right and works.
thanks for the review!