[Bug 753864] editing-services: Fix memory leaks when context parse fails.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 30 05:52:58 PDT 2015


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

Thibault Saunier <tsaunier at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |tsaunier at gnome.org
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.7.1

--- Comment #2 from Thibault Saunier <tsaunier at gnome.org> ---
commit fd29e28c71160ceee37eb21a03967bfbc66b0b51
Author: Vineeth TM <vineeth.tm at samsung.com>
Date:   Thu Aug 20 17:16:50 2015 +0900

    editing-services: 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=753864

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