mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
video: fix memory leak
This commit is contained in:
parent
14237251a2
commit
fd35793c38
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue