diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2007-11-14 20:34:24 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-11-14 20:34:24 +0000 |
commit | 092cb8cd5735b5c01c892cb68a8e1887799025df (patch) | |
tree | debb541fa731a7ef3dc54feec0b4f579edfdbe47 /gst/rtsp | |
parent | f691a70d69d3e816d370e82cf08de0fd7c7df0b6 (diff) |
gst/rtsp/gstrtspsrc.c: Don't leak sdp message contents (fixes #496773).
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_open):
Don't leak sdp message contents (fixes #496773).
* gst/udp/gstudpsink.c: (gst_udpsink_finalize):
Don't leak URI string.
Diffstat (limited to 'gst/rtsp')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 4405dba3..98d1c597 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -3914,6 +3914,7 @@ gst_rtspsrc_open (GstRTSPSrc * src) /* clean up any messages */ gst_rtsp_message_unset (&request); gst_rtsp_message_unset (&response); + gst_sdp_message_uninit (&sdp); return TRUE; @@ -3978,6 +3979,7 @@ cleanup_error: GST_RTSP_STATE_UNLOCK (src); gst_rtsp_message_unset (&request); gst_rtsp_message_unset (&response); + gst_sdp_message_uninit (&sdp); return FALSE; } } |