[Bug 787306] New: rtsp-sink : Fix Memory leak in gstrtspclientsink.c

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 5 11:32:36 UTC 2017


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

            Bug ID: 787306
           Summary: rtsp-sink : Fix Memory leak in gstrtspclientsink.c
    Classification: Platform
           Product: GStreamer
           Version: 1.12.2
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: sp.gupta at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 359174
  --> https://bugzilla.gnome.org/attachment.cgi?id=359174&action=edit
Patch file is attached.

Hi , 

  There is memory leak in gstrtspclientsink.c. Below is observation 

Function  gst_rtsp_client_sink_setup_streams  Line : 3731

There is memory leak in gstrtspclientsink.c file as "transport->destination =
g_strdup (sink->server_ip);" but did not free the "detination ptr"


Solution :  g_free (transport->destination);

++patch is attched for possible solution.
Kindly review the patch and provide your feedback.

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