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