Re: Memory leak

Ludovic Rousseau <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <CAGstE8CHGy14MLy8M6NhH_SuVZdG64246hOi1=chNNz5QwmZjQ@mail.gmail.com>
2013/12/20 Ignacio Casal <[email protected]>:
> Hi again,
>
> first of all, thanks for the very fast previous response, I indeed didn't
> realize about the comment.
> I think though this time I may have found a memory leak:
>
> http://anonscm.debian.org/viewvc/pcsclite/trunk/PCSC/src/winscard_clnt.c?revision=6734&view=markup
> line: 2969
>
> you allocate the buf variable but you do not free it on this error case
> before the goto.

You are right.
Just fixed in revision 6810
http://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2013-December/006365.html

Thanks

-- 
 Dr. Ludovic Rousseau
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.