[PATCH] Fix some memory leaks

Claudiu Olteanu olteanu.vasilica.claudiu at gmail.com
Sun Mar 22 08:46:42 PDT 2015


I added more patches which will fix some memory leaks.
Regarding the uemis-downloader.c source I am not sure if
"iparam_buff" and "mbuf" variables should be freed too.

I saw that one of the elements of "param_buff" is used as a result for the
"do_uemis_import" function, but I didn't saw where it is freed.

Claudiu

On Sun, Mar 22, 2015 at 1:48 PM, Claudiu Olteanu <
olteanu.vasilica.claudiu at gmail.com> wrote:

> Hello,
>
> This patch fixes some memory leaks from datatrak implementation.
>
> Claudiu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150322/8f8724fc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Resolve-some-memory-leak-on-datatrak-source.patch
Type: text/x-patch
Size: 3045 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150322/8f8724fc/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-memory-leaks-on-Cochran-file.patch
Type: text/x-patch
Size: 644 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150322/8f8724fc/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Fix-a-memory-leak-in-parser-xml.patch
Type: text/x-patch
Size: 764 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150322/8f8724fc/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Clean-req.txt-file-path.patch
Type: text/x-patch
Size: 1110 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150322/8f8724fc/attachment-0007.bin>


More information about the subsurface mailing list