Don't try to free stack variables.
authorColin Guthrie <pulse@colin.guthr.ie>
Sun, 11 May 2008 16:38:33 +0000 (16:38 +0000)
committerColin Guthrie <pulse@colin.guthr.ie>
Wed, 8 Oct 2008 19:32:08 +0000 (20:32 +0100)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2409 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/modules/rtp/raop_client.c

index fc42340..a9b9ab1 100644 (file)
@@ -389,9 +389,6 @@ pa_raop_client* pa_raop_client_new(pa_core *core, const char* host)
     pa_rtsp_set_callback(c->rtsp, rtsp_cb, c);
     if (pa_rtsp_connect(c->rtsp, c->core->mainloop, host, 5000)) {
         pa_rtsp_client_free(c->rtsp);
-        pa_xfree(c->aes_iv);
-        pa_xfree(c->aes_nv);
-        pa_xfree(c->aes_key);
         return NULL;
     }
     return c;
@@ -404,9 +401,6 @@ void pa_raop_client_free(pa_raop_client* c)
 
     pa_xfree(c->buffer);
     pa_rtsp_client_free(c->rtsp);
-    pa_xfree(c->aes_iv);
-    pa_xfree(c->aes_nv);
-    pa_xfree(c->aes_key);
     pa_xfree(c->host);
     pa_xfree(c);
 }