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

Frediano Ziglio fziglio at redhat.com
Fri Oct 23 04:48:07 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
> 

The address sanitizer leak detector (gcc 5) and the cleanup branch.

Frediano


More information about the Spice-devel mailing list