aboutsummaryrefslogtreecommitdiffstats
path: root/src/rtsp_client.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-08-31 07:13:42 +0200
committerMax Kellermann <max@duempel.org>2011-08-31 07:13:42 +0200
commitf3d95f70e230590d918098c396fb0901cee4b8c3 (patch)
tree0b5244e111dee92ac9b8249ef36ca7d73cf2ab01 /src/rtsp_client.c
parent57526067f5ae980a84637775e81016797cd233a4 (diff)
downloadmpd-f3d95f70e230590d918098c396fb0901cee4b8c3.tar.gz
mpd-f3d95f70e230590d918098c396fb0901cee4b8c3.tar.xz
mpd-f3d95f70e230590d918098c396fb0901cee4b8c3.zip
rtsp_client: free attribute "kd" in _close()
Fix yet another memory leak.
Diffstat (limited to '')
-rw-r--r--src/rtsp_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rtsp_client.c b/src/rtsp_client.c
index a2bc19cdb..7a5e54a1d 100644
--- a/src/rtsp_client.c
+++ b/src/rtsp_client.c
@@ -265,6 +265,7 @@ void
rtspcl_close(struct rtspcl_data *rtspcld)
{
rtspcl_disconnect(rtspcld);
+ free_kd(rtspcld->kd);
rtspcl_remove_all_exthds(rtspcld);
g_free(rtspcld->session);
g_free(rtspcld);