projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3299c
)
rtspsrc: fix memory leak
author
Arnout Vandecappelle
<arnout@mind.be>
Tue, 8 Sep 2009 11:30:29 +0000
(13:30 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 8 Sep 2009 11:30:29 +0000
(13:30 +0200)
In gst_rtspsrc_parse_digest_challenge(), rtspsrc does a g_strndup of the auth
header items and then passes them to gst_rtsp_connection_set_auth_param()
without freeing.
Fixes #594133
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
050e151
..
0490dc6
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-3489,6
+3489,7
@@
gst_rtspsrc_parse_digest_challenge (GstRTSPConnection * conn,
value = NULL;
gst_rtsp_connection_set_auth_param (conn, item, value);
+ g_free (item);
}
g_slist_free (list);