[Bug 753865] gst-omx: Fix memory leaks when context parse fails.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Aug 20 01:34:22 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753865
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|git master |1.6.0
--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit fb95ce9bfc80167eba843567aa62d62d359a2bf1
Author: Vineeth TM <vineeth.tm at samsung.com>
Date: Thu Aug 20 17:20:50 2015 +0900
gst-omx: 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=753865
--
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