Commit c40807f6 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

rtpmparobustdepay: avoid leaking bytewriter instance

parent cc494179
......@@ -792,6 +792,8 @@ gst_rtp_mpa_robust_change_state (GstElement * element,
g_queue_foreach (rtpmpadepay->adu_frames,
(GFunc) gst_rtp_mpa_robust_depay_free_frame, NULL);
g_queue_clear (rtpmpadepay->adu_frames);
if (rtpmpadepay->mp3_frame)
gst_byte_writer_free (rtpmpadepay->mp3_frame);
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