Commit a2d01b3a authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

tests: rtpulpfec: fix buffer leak in unit test

This freed wrapped memory instead of the GstMemory or buffer.
parent c79cf179
......@@ -122,7 +122,7 @@ lose_and_recover_test (GstHarness * h, guint16 lost_seq,
gst_rtp_buffer_unmap (&rtpout);
gst_buffer_unref (bufout);
g_free (reccopy);
gst_buffer_unref (wrap);
/* Pushing the next buffer with discont flag set */
bufout = gst_rtp_buffer_new_allocate (0, 0, 0);
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