[Bug 753854] gstreamer: bad: Fix memory leaks when context parse fails.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Oct 2 07:25:00 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753854

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 8c9ca808af4cb49b3bce6dd4f0d02671eba08520
Author: Vineeth TM <vineeth.tm at samsung.com>
Date:   Thu Aug 20 16:03:29 2015 +0900

    gstreamer: bad: 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=753854

-- 
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