[Bug 787059] New: rtsp-server : Fix Memory leak isse in rtsp-sdp.c

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 31 07:59:18 UTC 2017


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

            Bug ID: 787059
           Summary: rtsp-server : Fix Memory leak isse in rtsp-sdp.c
    Classification: Platform
           Product: GStreamer
           Version: 1.12.2
                OS: All
            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 358820
  --> https://bugzilla.gnome.org/attachment.cgi?id=358820&action=edit
Patch is attched

Hi,

File : gst-rtsp-server/gst/rtsp-server/rtsp-sdp.c

Function  mikey_add_crypto_sessions  Line : 128

There is memory leak in rtsp-sdp.c file as memory is at
gst_rtsp_stream_get_srtp_encoder but did not unref in error case.

Solution :  gst_object_unref (encoder);

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