Commit 232bdf17 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

rtpbasedepayload: fix leaks in error code paths

This was introduced when reshuffling the buffer unmaps
in commit bc14cdf5
rtp: rtpbasedepayload: add process_rtp_packet() vfunc

Fixes make check-valgrind.
parent 5830db70
......@@ -487,11 +487,13 @@ invalid_buffer:
gst_rtp_buffer_unmap (&rtp);
GST_WARNING_OBJECT (filter, "%d <= 100, dropping old packet", gap);
return GST_FLOW_OK;
gst_rtp_buffer_unmap (&rtp);
/* this is not fatal but should be filtered earlier */
("The subclass does not have a process or process_rtp_packet method"));
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