[Bug 753701] discoverer: Few trivial fixes in handling error cases

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Aug 17 06:31:01 PDT 2015


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #6 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
That sounds like a bug. GError should always be set if a NULL info is returned
(unless it's a g_return_if_fail()).

(This trips up coverity and other static analyzers of course, because they
sense that there's a code path [g_return_if_fail] that doesn't set it and then
bad things happen, but that's par for the course then.)

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