Re: eog::resource and memory leak
- From: Felix Riemann <friemann svn gnome org>
- To: Martin Ettl <ettl martin gmx de>
- Cc: eog-list gnome org
- Subject: Re: eog::resource and memory leak
- Date: Tue, 07 Apr 2009 20:32:08 +0200
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]