diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2015-07-07 17:50:50 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-07-07 17:50:50 +0300 |
commit | f0c6b728f8fd1131480b3fe6a86d1bb8ae6f52d3 (patch) | |
tree | 1dda458fa7a1488698963b593724ca10b1fea3e7 | |
parent | f07d61a9ef9c985c5017a2b580db6327b172de57 (diff) |
rtpg729depay: unmap rtp buffer in error path
-rw-r--r-- | gst/rtp/gstrtpg729depay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtp/gstrtpg729depay.c b/gst/rtp/gstrtpg729depay.c index 9910add1a..8a9c9774b 100644 --- a/gst/rtp/gstrtpg729depay.c +++ b/gst/rtp/gstrtpg729depay.c @@ -214,6 +214,7 @@ gst_rtp_g729_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf) bad_packet: { /* no fatal error */ + gst_rtp_buffer_unmap (&rtp); return NULL; } } |