mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
gst-libs/gst/rtp/gstbasertpaudiopayload.c: Fixed nasty memory leak
Original commit message from CVS: * gst-libs/gst/rtp/gstbasertpaudiopayload.c: Fixed nasty memory leak
This commit is contained in:
parent
2d27a4238e
commit
7e52276a83
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-06-29 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
|
||||
|
||||
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
|
||||
Fixed nasty memory leak
|
||||
|
||||
2006-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/tcp/gsttcp.c: (gst_tcp_read_buffer),
|
||||
|
|
|
@ -285,6 +285,8 @@ gst_basertpaudiopayload_handle_frame_based_buffer (GstBaseRTPPayload *
|
|||
data += payload_len;
|
||||
}
|
||||
|
||||
gst_buffer_unref (buffer);
|
||||
|
||||
/* none should be available by now */
|
||||
if (available != 0) {
|
||||
GST_ERROR_OBJECT (basertpaudiopayload, "The buffer size is not a multiple"
|
||||
|
@ -378,6 +380,8 @@ gst_basertpaudiopayload_handle_sample_based_buffer (GstBaseRTPPayload *
|
|||
data += payload_len;
|
||||
}
|
||||
|
||||
gst_buffer_unref (buffer);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue