summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-03-22 21:07:02 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-03-22 21:07:02 +0000
commit0ca5b15aeeaa55e2851745b64d9b2fb78abc9ba1 (patch)
tree14c4c7c39b5e46b0682e37f669351dfa110148f8
parentdd18cbc2a3dba89e4f4fe5a34e781fbd3e5bad8f (diff)
downloadgst-plugins-bad-0ca5b15aeeaa55e2851745b64d9b2fb78abc9ba1.tar.gz
gst-plugins-bad-0ca5b15aeeaa55e2851745b64d9b2fb78abc9ba1.tar.bz2
gst-plugins-bad-0ca5b15aeeaa55e2851745b64d9b2fb78abc9ba1.zip
ext/neon/gstneonhttpsrc.c: Alloc user agent string only once.
Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_init): Alloc user agent string only once.
-rw-r--r--ChangeLog5
-rw-r--r--ext/neon/gstneonhttpsrc.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 945338e1..cdb9f190 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-22 Tim-Philipp Müller <tim at centricular dot net>
+
+ * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_init):
+ Alloc user agent string only once.
+
2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init):
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c
index 0ad46523..eba4ac0f 100644
--- a/ext/neon/gstneonhttpsrc.c
+++ b/ext/neon/gstneonhttpsrc.c
@@ -246,8 +246,6 @@ gst_neonhttp_src_init (GstNeonhttpSrc * src, GstNeonhttpSrcClass * g_class)
"The proxy set on http_proxy env var ('%s') cannot be parsed.", str);
}
- src->user_agent = g_strdup ("neonhttpsrc");
-
src->iradio_mode = FALSE;
src->iradio_name = NULL;
src->iradio_genre = NULL;