Re: [gDesklets] 0.36.3 leaking memory?!

Thank you Bjoern,

I already tried to fix this yesterday. The problem was that I wasnt able to compile gdesklets from sources using python 2.7 but i found which changes I had to apply to the configure script and now it does. gDesklets is now running with my changes applied, I will report back if it helped after i observed the behavior for some days of uptime

I hope it worked ;)



On 03/10/2011 09:25 AM, Bjoern Koch wrote:
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 :

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]