[PATCH] Fix memory leak in scdaemon

Klaus Flittner klaus at flittner.org
Sat Oct 24 18:49:34 CEST 2009


Hi,

in scd/command.c the buffer allocated by cmd_setdata is never freed.
The attached patch frees the buffer after use and before a second use
of setdata.

Regards
 Klaus Flittner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scdaemon_fix_memory_leak.patch
Type: text/x-patch
Size: 1474 bytes
Desc: not available
URL: </pipermail/attachments/20091024/d78e2c9b/attachment.bin>


More information about the Gnupg-devel mailing list