[Bug 753863] rtsp-server: examples: Fix memory leaks when context parse fails

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Sep 26 01:39:05 PDT 2015


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.7.1
            Summary|rtsp-server: Fix memory     |rtsp-server: examples: Fix
                   |leaks when context parse    |memory leaks when context
                   |fails.                      |parse fails
           Severity|normal                      |minor

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
commit 6d20a1c9d91fb245885de11b032df975858b8151
Author: Vineeth TM <vineeth.tm at samsung.com>
Date:   Thu Aug 20 17:01:24 2015 +0900

    rtsp-server: 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=753863

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