Re: [PATCH] remove small leak in MJPEG code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 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
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]