[Bug 753701] New: discoverer: Few trivial fixes in handling error cases
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Aug 16 19:13:05 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753701
Bug ID: 753701
Summary: discoverer: Few trivial fixes in handling error cases
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: vineeth.tm at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
This handles 2 fixes in discoverer
1) While using gst_discoverer_discover_uri, there are chances that info will be
returned as NULL in error cases. Passing NULL values to gst_discoverer_info***
APIs results in assertion failures like below
CRITICAL **: gst_discoverer_info_get_result: assertion
'G_TYPE_CHECK_INSTANCE_TYPE((info), (gst_discoverer_info_get_type ()))' failed
2) During error cases, for g_option_context_parse and gst_discoverer_new, err
will be allocated but not freed resulting in memory leaks.
--
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