gstrtpdepay: don't leak input buffer

The rtp buffer is never unmapped in the normal code exit path
of gst_rtp_gst_depay_process(..) resulting in a memory leak.

https://bugzilla.gnome.org/show_bug.cgi?id=685512
This commit is contained in:
Rasmus Rohde 2012-10-04 20:32:45 +02:00 committed by Tim-Philipp Müller
parent 1ac6a782c3
commit 47a8eb7ca8

View file

@ -291,6 +291,7 @@ gst_rtp_gst_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_DELTA_UNIT);
}
}
gst_rtp_buffer_unmap (&rtp);
return outbuf;
/* ERRORS */