[pulseaudio-commits] r2396 - /branches/coling/airtunes/src/modules/rtp/raop_client.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Sun May 11 05:18:37 PDT 2008
Author: coling
Date: Sun May 11 14:18:36 2008
New Revision: 2396
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2396&root=pulseaudio&view=rev
Log:
Properly duplicate the hostname passed in on connect.
Modified:
branches/coling/airtunes/src/modules/rtp/raop_client.c
Modified: branches/coling/airtunes/src/modules/rtp/raop_client.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/coling/airtunes/src/modules/rtp/raop_client.c?rev=2396&root=pulseaudio&r1=2395&r2=2396&view=diff
==============================================================================
--- branches/coling/airtunes/src/modules/rtp/raop_client.c (original)
+++ branches/coling/airtunes/src/modules/rtp/raop_client.c Sun May 11 14:18:36 2008
@@ -355,7 +355,7 @@
c->mainloop = mainloop;
c->fd = -1;
- c->host = host;
+ c->host = pa_xstrdup(host);
c->rtsp = pa_rtsp_client_new("iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3)");
/* Initialise the AES encryption system */
@@ -390,6 +390,7 @@
pa_xfree(c->aes_iv);
pa_xfree(c->aes_nv);
pa_xfree(c->aes_key);
+ pa_xfree(c->host);
pa_xfree(c);
}
More information about the pulseaudio-commits
mailing list