[Bug 677463] New: rtsp-client: GSocketAddress leak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 5 05:10:07 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=677463
  GStreamer | gst-rtsp-server | git

           Summary: rtsp-client: GSocketAddress leak
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: davidsf at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


In gst_rtsp_client_accept, there is a GSocketAddress memory leak. The
GSocketAddress returned by g_socket_get_remote_address is not unreffed.
According to the documentation for g_socket_get_remote_address, it should be
unreffed.

I have attached a patch for fixing this problem.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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