[PATCH] Fix some memory leaks

Claudiu Olteanu olteanu.vasilica.claudiu at gmail.com
Mon Mar 23 08:50:07 PDT 2015


All of them are used locally. If you believe that it will be helpful I can
write a detailed report about each free call and the reason I used it.

Claudiu

On Mon, Mar 23, 2015 at 5:39 PM, Dirk Hohndel <dirk at hohndel.org> wrote:

> On Sun, Mar 22, 2015 at 01:48:43PM +0200, Claudiu Olteanu wrote:
> > Hello,
> >
> > This patch fixes some memory leaks from datatrak implementation.
>
> The reason I haven't applied these is simple.
>
> Having these allocations hang around can be annoying and creates noise in
> the valgrind output, but isn't causing bugs.
>
> But freeing pointers that are actually still used elsewhere can cause
> massively annoying and hard to fix bugs.
>
> So every single one of these needs to be very carefully looked at.
>
> /D
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150323/58c207eb/attachment.html>


More information about the subsurface mailing list