[Bug 773907] gst-launch: fix minor memory leak when failing to parse options

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 4 15:00:33 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |slomo at coaxion.net
         Resolution|---                         |FIXED

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 050f486d10b463180b3d3d2b55bc0db7ff5247db
Author: Antonio Ospite <ao2 at ao2.it>
Date:   Wed Nov 2 13:57:51 2016 +0100

    tools: gst-launch: fix minor memory leak when failing to parse options

    Commit 215cfcf99338 (gstreamer: Fix memory leaks when context parse
    fails) fixes some memory leak, but in one of the newly added calls to
    g_clear_error() the wrong variable was passed.

    When failing to parse command line options, free the "err" variable, not
    the "error" one.

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

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