The decoder_queue_frame now owns frame. Signed-off-by: Uri Lublin <uril@xxxxxxxxxx> --- src/channel-display-gst.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c index 0d7aabb..ae59292 100644 --- a/src/channel-display-gst.c +++ b/src/channel-display-gst.c @@ -544,6 +544,7 @@ static gboolean spice_gst_decoder_queue_frame(VideoDecoder *video_decoder, if (decoder->pipeline == NULL) { /* An error occurred, causing the GStreamer pipeline to be freed */ spice_warning("An error occurred, stopping the video stream"); + frame->free(frame); return FALSE; } -- 2.14.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel