Re: [gDesklets] 0.36.3 leaking memory?!



Hi Ronny,

> this may be it... I found that gdk_pixbuf_scale_simple() returns a
> copy... and 'scaled' (in the appropriate line of utils/render.c) seems
> to be free'd only if the width or height has changed...

Ah.... OK... this would make sense.

> I will try and test it if I find out how to checkout the sources ;)

Just see rev.#142 :

http://bazaar.launchpad.net/~gdesklets-core-team/gdesklets/0.3x/revision/142/utils/render.c

And it looks like the "original" code is still there but just "commented
out" (as if I knew something would be going wrong ;) ).
So you should be able to take the 0.36.3 sources and undo the changes in
utils/render.c made in rev. #142.

Should be easy to do.

Hope that helps.

Greetings, Bjoern


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]