rtpgstpay: fix buffer leak

This commit is contained in:
Wim Taymans 2011-04-26 15:58:12 +02:00
parent 5ed18ad7b9
commit eb84592cad

View file

@ -215,6 +215,7 @@ gst_rtp_gst_pay_handle_buffer (GstBaseRTPPayload * basepayload,
ret = gst_basertppayload_push (basepayload, outbuf);
}
gst_buffer_unmap (buffer, data, size);
gst_buffer_unref (buffer);
return ret;
}