Plug some memory leaks

These were detected with valgrind.
This commit is contained in:
Maarten Bosmans 2011-08-13 13:43:19 +02:00 committed by Colin Guthrie
parent 1e4298be4d
commit 3b76d8065f
4 changed files with 10 additions and 2 deletions

View file

@ -385,6 +385,8 @@ void pa_raop_client_free(pa_raop_client* c) {
if (c->rtsp)
pa_rtsp_client_free(c->rtsp);
if (c->sid)
pa_xfree(c->sid);
pa_xfree(c->host);
pa_xfree(c);
}