video: fix memory leak

This commit is contained in:
Vincent Penquerc'h 2012-06-07 11:15:57 +01:00
parent 14237251a2
commit fd35793c38

View file

@ -155,6 +155,7 @@ _gst_video_codec_state_free (GstVideoCodecState * state)
gst_caps_unref (state->caps);
if (state->codec_data)
gst_buffer_unref (state->codec_data);
g_slice_free (GstVideoCodecState, state);
}
/**