mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
oggdemux: plug some oggstream leaks
This commit is contained in:
parent
515f33bd3b
commit
a4aacb9d2c
1 changed files with 10 additions and 0 deletions
|
@ -186,6 +186,16 @@ gst_ogg_pad_dispose (GObject * object)
|
|||
g_list_free (pad->continued);
|
||||
pad->continued = NULL;
|
||||
|
||||
if (pad->map.caps) {
|
||||
gst_caps_unref (pad->map.caps);
|
||||
pad->map.caps = NULL;
|
||||
}
|
||||
|
||||
if (pad->map.taglist) {
|
||||
gst_tag_list_free (pad->map.taglist);
|
||||
pad->map.taglist = NULL;
|
||||
}
|
||||
|
||||
ogg_stream_reset (&pad->map.stream);
|
||||
|
||||
G_OBJECT_CLASS (gst_ogg_pad_parent_class)->dispose (object);
|
||||
|
|
Loading…
Reference in a new issue