summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpmp4apay.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-03-25 01:28:38 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-03-25 10:36:49 +0000
commit4bcd50ccbdc5b34d200d898875a35ef59ab1c10b (patch)
treefa0840d8359a85ece5ec6847fd6cd569c592a321 /gst/rtp/gstrtpmp4apay.c
parent297bbfbebc7bf03cd94e89a4ef7b9660a6cf3e9c (diff)
rtpmp4apay,rtpmp4depay: fix buffer leaks in AAC payloader and depayloader
Diffstat (limited to 'gst/rtp/gstrtpmp4apay.c')
-rw-r--r--gst/rtp/gstrtpmp4apay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/rtp/gstrtpmp4apay.c b/gst/rtp/gstrtpmp4apay.c
index 6d18bd06..f4c9d255 100644
--- a/gst/rtp/gstrtpmp4apay.c
+++ b/gst/rtp/gstrtpmp4apay.c
@@ -447,6 +447,9 @@ gst_rtp_mp4a_pay_handle_buffer (GstBaseRTPPayload * basepayload,
fragmented = TRUE;
}
+
+ gst_buffer_unref (buffer);
+
return ret;
}