diff --git a/gst/rtp/gstrtpg729depay.c b/gst/rtp/gstrtpg729depay.c index 9910add1a9..8a9c9774bb 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; } }