[Bug 753851] New: gstreamer: Fix memory leaks when context parse fails.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Aug 19 17:42:43 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753851
Bug ID: 753851
Summary: gstreamer: Fix memory leaks when context parse fails.
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
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.
Making it into 3 patches for better readability, based on folders of the
files.(tools, tests, libs).. If needed all these can be squashed into a single
patch.
--
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