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:
Frediano Ziglio 2016-11-09 15:58:04 +00:00
parent 6b56c730a8
commit 4c23b55e7e

View File

@ -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;
}