[Bug 753854] New: gstreamer: base: Fix memory leaks when context parse fails.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Aug 19 19:17:24 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753854
Bug ID: 753854
Summary: gstreamer: base: Fix memory leaks when context parse
fails.
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: vineeth.tm at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
In all places where g_option_context_parse is being used, when it fails, the
context and error variables are not getting freed, which will result in memory
leaks.
Along with that replacing g_error_free with g_clear_error in these files, which
is a better way to free error, as it checks if the variable is Non-NULL and
then sets it to NULL on freeing.
--
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