summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;