[Bug 747775] typefind: leak in gst_type_find_element_src_event

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 13 08:42:39 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747775

--- Comment #4 from Guillaume Desmottes <gdesmott at gnome.org> ---
(In reply to Sebastian Dröge (slomo) from comment #3)
> Review of attachment 301455 [details] [review]:
> 
> ::: plugins/elements/gsttypefindelement.c
> @@ +513,3 @@
>        GST_EVENT_TYPE (event) == GST_EVENT_SEEK) {
> +    result = gst_type_find_element_seek (typefind, event);
> +    gst_mini_object_unref (GST_MINI_OBJECT_CAST (event));
> 
> Why not gst_event_unref()? Looks less ugly :)

I just copy/pasted from the early return 5 lines above. :)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list