Committed with some modification (single free).
Please review.

http://www.opensc-project.org/openct/changeset/1085

On 12/19/08, Ludovic Rousseau <ludovic.rouss...@gmail.com> wrote:
> Hello,
>
>  The tool cppcheck [1] detected a memory leak in src/ifd/ifd-cyberjack.c
>
>  Checking ./src/ifd/ifd-cyberjack.c...
>  [./src/ifd/ifd-cyberjack.c:390]: Memory leak: state
>     Defines=''
>
>  The state variable is allocated but not freed in case of error.
>  I propose the attached patch. I am not sure it is correct. Please review.
>
>  Bye
>
>  [1] http://packages.debian.org/sid/cppcheck
>
>
>  --
>   Dr. Ludovic Rousseau
>
> _______________________________________________
>  opensc-devel mailing list
>  opensc-devel@lists.opensc-project.org
>  http://www.opensc-project.org/mailman/listinfo/opensc-devel
>
>
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to