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
@ -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>
|
2006-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gst/tcp/gsttcp.c: (gst_tcp_read_buffer),
|
* gst/tcp/gsttcp.c: (gst_tcp_read_buffer),
|
||||||
|
@ -285,6 +285,8 @@ gst_basertpaudiopayload_handle_frame_based_buffer (GstBaseRTPPayload *
|
|||||||
data += payload_len;
|
data += payload_len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_buffer_unref (buffer);
|
||||||
|
|
||||||
/* none should be available by now */
|
/* none should be available by now */
|
||||||
if (available != 0) {
|
if (available != 0) {
|
||||||
GST_ERROR_OBJECT (basertpaudiopayload, "The buffer size is not a multiple"
|
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;
|
data += payload_len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_buffer_unref (buffer);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user