Re: eog::resource and memory leak
Felix Riemann <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.Eog |
|---|---|
| Message-ID | <1239129128.1494.4.camel@localhost> |
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.