[Bug 753851] gstreamer: Fix memory leaks when context parse fails.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Oct 2 07:31:36 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753851
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|git master |1.7.1
--- Comment #12 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 215cfcf993389c7950d58d7a37d9bfb0058b7ea6
Author: Vineeth TM <vineeth.tm at samsung.com>
Date: Thu Aug 20 16:21:59 2015 +0900
gstreamer: Fix memory leaks when context parse fails
When g_option_context_parse fails, context and error variables are not
getting free'd
which results in memory leaks. Free'ing the same.
And replacing g_error_free with g_clear_error, which checks if the error
being passed
is not NULL and sets the variable to NULL on free'ing.
https://bugzilla.gnome.org/show_bug.cgi?id=753851
--
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