[gstreamer-bugs] [Bug 496773] New: [PATCH] rtspsrc leaks SDP messages

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Nov 14 07:47:09 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=496773

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: [PATCH] rtspsrc leaks SDP messages
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ext-tommi.myohanen at nokia.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


==19310== 4,806 (1,525 direct, 3,281 indirect) bytes in 32 blocks are
definitely lost in loss record 21 of 28
==19310==    at 0x4020626: malloc (vg_replace_malloc.c:149)
==19310==    by 0x4280E9C: g_malloc (in
/targets/OSSO_1.1_X86/usr/lib/libglib-2.0.so.0.1200.12)
==19310==    by 0x429138A: g_slice_alloc (in
/targets/OSSO_1.1_X86/usr/lib/libglib-2.0.so.0.1200.12)
==19310==    by 0x425AC18: g_array_sized_new (in
/targets/OSSO_1.1_X86/usr/lib/libglib-2.0.so.0.1200.12)
==19310==    by 0x425ACD4: g_array_new (in
/targets/OSSO_1.1_X86/usr/lib/libglib-2.0.so.0.1200.12)
==19310==    by 0x45FA163: gst_sdp_message_init (gstsdpmessage.c:240)
==19310==    by 0x4833C58: gst_rtspsrc_open (gstrtspsrc.c:3818)
==19310==    by 0x483953A: gst_rtspsrc_change_state (gstrtspsrc.c:4476)
==19310==    by 0x4058DDF: gst_element_change_state (gstelement.c:2362)
==19310==    by 0x4058A2B: gst_element_continue_state (gstelement.c:2077)
==19310==    by 0x4058EC8: gst_element_change_state (gstelement.c:2406)
==19310==    by 0x4059475: gst_element_set_state_func (gstelement.c:2312)

SDP messages are parsed, but not freed. Attached patch fixes this.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=496773.




More information about the Gstreamer-bugs mailing list