mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
gst/id3demux/gstid3demux.c:
Original commit message from CVS: * gst/id3demux/gstid3demux.c: (id3demux_get_upstream_size), (gst_id3demux_do_typefind): Fix a couple of mem leaks. (Patch by Jonathan Matthew <jonathan at kaolin dot wh9 dot net>)
This commit is contained in:
parent
2bbf2b424d
commit
a3e95ebfc9
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-02-11 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/id3demux/gstid3demux.c: (id3demux_get_upstream_size),
|
||||
(gst_id3demux_do_typefind):
|
||||
Fix a couple of mem leaks. (Patch by Jonathan Matthew
|
||||
<jonathan at kaolin dot wh9 dot net>)
|
||||
|
||||
2006-02-10 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_setcaps):
|
||||
|
|
|
@ -578,6 +578,7 @@ id3demux_get_upstream_size (GstID3Demux * id3demux)
|
|||
goto out;
|
||||
|
||||
gst_query_parse_duration (query, &format, &result);
|
||||
gst_query_unref (query);
|
||||
|
||||
if (format != GST_FORMAT_BYTES || result == -1)
|
||||
goto out;
|
||||
|
@ -1090,6 +1091,9 @@ gst_id3demux_do_typefind (GstID3Demux * id3demux, GstBuffer * buffer)
|
|||
return find.caps;
|
||||
}
|
||||
|
||||
if (find.caps)
|
||||
gst_caps_unref (find.caps);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue