Re: eog::resource and memory leak



Am Dienstag, den 24.03.2009, 23:56 +0100 schrieb Martin Ettl:
> Hi friends,
> 
Hey,

> i found two issues in the source code of eog-2.26.0 in file eog-image-jpeg.c. I used a static code analysis tool (cppcheck) to bring up this issues.
> 
> cppcheck -q -a -j2 -f .
> [./src/eog-image-jpeg.c:403]: (error) Memory leak: buf
> [./src/eog-image-jpeg.c:381]: (error) Resource leak: outfile
> 

I took care of them now in both branches. Thanks for letting us know.

Regards,

Felix

P.S.: cppcheck looks pretty handy.



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