GNOME Bugzilla – Bug 755417
nlecomposition allocates unused UpdateCompositionData
Last modified: 2015-09-24 11:07:18 UTC
Allocated pointer which is never used causes leakage.
Created attachment 311863 [details] [review] nlecomposition and nleobject: trivial leakages
Review of attachment 311863 [details] [review]: ::: plugins/nle/nlecomposition.c @@ -2877,1 @@ @Thibault Saunier, Could you check this code also? I'm curious to know if some codes are omitted to handle ucompo, or we can just remove this allocation.
Review of attachment 311863 [details] [review]: Please update the patch and it looks good. Thanks :) ::: plugins/nle/nlecomposition.c @@ -2877,1 @@ Very useless piece of code indeed, go ahead and remove it please :)
Review of attachment 311863 [details] [review]: ::: plugins/nle/nlecomposition.c @@ -2877,1 @@ Yes, It's been removed in my proposed patch. :)
Review of attachment 311863 [details] [review]: ::: plugins/nle/nlecomposition.c @@ -2877,1 @@ I got lost in my reviews, sorry, all good then :)
commit bd1d03202bdd278df7db3558e9df49082ade485d Author: Justin Kim <justin.kim@collabora.com> Date: Tue Sep 22 23:10:35 2015 +0900 nle{composition,object}: remove unused allocation & trivial leakages nlecomposition allocates unused 'UpdateCompositionData' and it causes leakages. https://bugzilla.gnome.org/show_bug.cgi?id=755417