From 0ca5b15aeeaa55e2851745b64d9b2fb78abc9ba1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 22 Mar 2007 21:07:02 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ ext/neon/gstneonhttpsrc.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 945338e..cdb9f19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-22 Tim-Philipp Müller + + * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_init): + Alloc user agent string only once. + 2007-03-22 Sebastian Dröge * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init): diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c index 0ad4652..eba4ac0 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; -- 2.7.4