mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-24 17:01:43 +00:00
syntax-check: Silent a wrong positive
Due to syntax-check limitation this free calls results in a syntax error. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
6b56c730a8
commit
4c23b55e7e
@ -969,7 +969,7 @@ static int mjpeg_encoder_encode_frame(VideoEncoder *video_encoder,
|
||||
}
|
||||
|
||||
if (ret != VIDEO_ENCODER_FRAME_ENCODE_DONE) {
|
||||
buffer->base.free((VideoBuffer*)buffer);
|
||||
buffer->base.free(&buffer->base);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user