[Bug 753852] gstreamer: base: Fix memory leaks when context parse fails.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Oct 2 07:26:51 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753852
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 #7 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 8e5f7f27f56e567ab31bb3986f4963fc30c39443
Author: Vineeth TM <vineeth.tm at samsung.com>
Date: Thu Aug 20 15:59:15 2015 +0900
gstreamer: base: 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=753852
--
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