Re: [Spice-devel] [PATCH spice-gtk] Use g_free() appropriately

2017-08-10 Thread Victor Toso
On Thu, Aug 10, 2017 at 12:05:07PM +0200, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > g_free() should be used in pair with g_malloc/new(). > > There is only free() calls remaining for usbredir rules now. Ok > > Signed-off-by: Marc-André Lureau Acked-by: Victor Toso > ---

[Spice-devel] [PATCH spice-gtk] Use g_free() appropriately

2017-08-10 Thread marcandre . lureau
From: Marc-André Lureau g_free() should be used in pair with g_malloc/new(). There is only free() calls remaining for usbredir rules now. Signed-off-by: Marc-André Lureau --- src/decode-glz.c| 10 +- src/decode-jpeg.c | 2 +- src/decode-zlib.c | 4 ++-- src/spice-session.c |