mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
tests: rtpulpfec: fix buffer leak in unit test
This freed wrapped memory instead of the GstMemory or buffer.
This commit is contained in:
parent
c79cf179cc
commit
a2d01b3a8b
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ lose_and_recover_test (GstHarness * h, guint16 lost_seq,
|
|||
gst_rtp_buffer_unmap (&rtpout);
|
||||
fail_unless (!GST_BUFFER_FLAG_IS_SET (bufout, GST_RTP_BUFFER_FLAG_REDUNDANT));
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue