[FreeNX-kNX] Memory leak in nxcompext Png compression, patch included
Terje Andersen
terander at guard.zapto.org
Sat Mar 14 13:29:25 UTC 2009
On Sat, 14 Mar 2009 22:21:44 +1300
Mario Becroft <mb at gem.win.co.nz> wrote:
> I found the memory leak mentioned by me in
> <87prgnm2s0.fsf at server.ak.quickcircuit.co.nz> on the 12th of March. The
> symptoms are that nxagent (or potentially a client using the nx
> libraries) gradually grows in size, for example to greater than 1
> gigabyte, and gradually becomes slower. This is particularly noticable
> when running certain programs that use many images.
>
> It is caused by a bug in libnxcompext which leaks one 768-byte
> allocation each time an image is created having <= 256 unique colours
> and with Png compression enabled.
>
<snip>
Nice catch & patch , Mario! :-)
Maybe you could send it to NoMachine as well?
/Terje
More information about the FreeNX-kNX
mailing list