[Spice-devel] [PATCH] remove small leak in MJPEG code

Christophe Fergeau cfergeau at redhat.com
Fri Oct 23 02:53:06 PDT 2015


On Wed, Oct 14, 2015 at 04:32:56PM +0100, Frediano Ziglio wrote:
> cinfo.dest is allocated in spice_jpeg_mem_dest but never freed.
> Note that jpeg_destroy_compress does not free this field as is
> supposed to be a buffer provided by jpeg caller.

Did you find this with valgrind, or just code review? ACK.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20151023/06f70e96/attachment-0001.sig>


More information about the Spice-devel mailing list