[Bug 753862] New: validate: Fix memory leaks when context parse fails.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Aug 20 00:50:57 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753862
Bug ID: 753862
Summary: validate: Fix memory leaks when context parse fails.
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-devtools
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