mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
gst/elements/gsttypefindelement.c: Fix memleak (#170067).
Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst/elements/gsttypefindelement.c: (gst_type_find_element_handle_event): Fix memleak (#170067).
This commit is contained in:
parent
7b6bc1b774
commit
f827754418
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
|||
2005-03-12 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/elements/gsttypefindelement.c:
|
||||
(gst_type_find_element_handle_event):
|
||||
Fix memleak (#170067).
|
||||
|
||||
2005-03-12 Torsten Schoenfeld <kaffeetisch@gmx.de>
|
||||
|
||||
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
|
|
@ -510,9 +510,8 @@ gst_type_find_element_handle_event (GstPad * pad, GstEvent * event)
|
|||
off == typefind->waiting_for_discont_offset) {
|
||||
typefind->mode = MODE_NORMAL;
|
||||
push_buffer_store (typefind);
|
||||
} else {
|
||||
gst_event_unref (event);
|
||||
}
|
||||
gst_event_unref (event);
|
||||
}
|
||||
} else if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
|
||||
push_buffer_store (typefind);
|
||||
|
|
|
@ -510,9 +510,8 @@ gst_type_find_element_handle_event (GstPad * pad, GstEvent * event)
|
|||
off == typefind->waiting_for_discont_offset) {
|
||||
typefind->mode = MODE_NORMAL;
|
||||
push_buffer_store (typefind);
|
||||
} else {
|
||||
gst_event_unref (event);
|
||||
}
|
||||
gst_event_unref (event);
|
||||
}
|
||||
} else if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
|
||||
push_buffer_store (typefind);
|
||||
|
|
Loading…
Reference in a new issue