--- server/mjpeg-encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mjpeg-encoder.c b/server/mjpeg-encoder.c index d95c645..2e22edf 100644 --- a/server/mjpeg-encoder.c +++ b/server/mjpeg-encoder.c @@ -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); } return ret; } -- 2.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel