Commit fd35793c authored by Vincent Penquerc'h's avatar Vincent Penquerc'h

video: fix memory leak

parent 14237251
......@@ -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);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment