rtsp_client: free attribute "kd" in _close()

Fix yet another memory leak.
This commit is contained in:
Max Kellermann 2011-08-31 07:13:42 +02:00
parent 57526067f5
commit f3d95f70e2
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ void
rtspcl_close(struct rtspcl_data *rtspcld) rtspcl_close(struct rtspcl_data *rtspcld)
{ {
rtspcl_disconnect(rtspcld); rtspcl_disconnect(rtspcld);
free_kd(rtspcld->kd);
rtspcl_remove_all_exthds(rtspcld); rtspcl_remove_all_exthds(rtspcld);
g_free(rtspcld->session); g_free(rtspcld->session);
g_free(rtspcld); g_free(rtspcld);