[Bug 765052] tracer: add (mini) object leak tracer

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 1 09:55:06 UTC 2016


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

--- Comment #54 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Stefan Sauer (gstreamer, gtkdoc dev) from comment #53)

> ::: plugins/tracers/gstleaks.c
> @@ +70,3 @@
> +
> +    self->filter = g_list_prepend (self->filter, GSIZE_TO_POINTER (type));
> +  }
> 
> consider a GPtrArray since this is created once and never modifies, you can
> even know the size beforehand.

GArray<GType> would be even cleaner :)

-- 
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