Re: [Spice-devel] [spice-server PATCH 2/3] red_replay_image_free: do not free QUIC qxl twice

2017-07-17 Thread Pavel Grunt
On Sun, 2017-07-16 at 18:47 +0300, Uri Lublin wrote: > If qxl->descriptor.type is QUIC, red_replay_data_chunks_free > frees qxl (data), so no need to free it again at the bottom > of the function. > > Found by coverity. > > Signed-off-by: Uri Lublin Acked-by: Pavel Grunt > --- > server/red-rep

[Spice-devel] [spice-server PATCH 2/3] red_replay_image_free: do not free QUIC qxl twice

2017-07-16 Thread Uri Lublin
If qxl->descriptor.type is QUIC, red_replay_data_chunks_free frees qxl (data), so no need to free it again at the bottom of the function. Found by coverity. Signed-off-by: Uri Lublin --- server/red-replay-qxl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/red-replay-qxl.c b/server