[gstreamer-bugs] [Bug 624770] New: rtspsrc memory leak in gst_rtspsrc_handle_request
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jul 19 14:04:30 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=624770
GStreamer | gst-plugins-good | 0.10.16
Summary: rtspsrc memory leak in gst_rtspsrc_handle_request
Classification: Desktop
Product: GStreamer
Version: 0.10.16
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: GStreamer-Bugs at tycosp.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Created an attachment (id=166177)
View: https://bugzilla.gnome.org/attachment.cgi?id=166177
Review: https://bugzilla.gnome.org/review?bug=624770&attachment=166177
patch
Memory leak occurs in gst_rtspsrc_handle_request function in gstrtspsrc.c.
The RTSP server rtspsrc is communicating with sends a GET_PARAMETER request
periodically as a ping. The code in gst_rtspsrc_handle_request forms an OK
response and sends, but doesn't call gst_rtsp_message_unset to free the memory
after sending the response. This results in a constant slow memory leak.
Examined git; leak still seems to exist in most current code. Patch attached.
--
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