omxvideodec: Fix CodecState leak

This commit is contained in:
Nicolas Dufresne 2018-03-01 15:16:32 -05:00
parent 054cea0617
commit 4bc3b6e567

View file

@ -1239,6 +1239,7 @@ gst_omx_video_dec_reconfigure_output_port (GstOMXVideoDec * self)
goto no_egl;
}
#else
gst_video_codec_state_unref (state);
GST_VIDEO_DECODER_STREAM_UNLOCK (self);
goto no_egl;
#endif