summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2014-07-09 11:51:07 +0300
committerPetri Hintukainen <phintuka@users.sourceforge.net>2014-07-09 11:51:07 +0300
commitfed547fa7cb82ed053313665b2f7f7600b833e60 (patch)
treecee80624db653c07b3241dbe23a5872eef024203
parent810ca6d8269ed3fcd40fd153b93bf43a032d8807 (diff)
downloadxine-lib-fed547fa7cb82ed053313665b2f7f7600b833e60.tar.gz
xine-lib-fed547fa7cb82ed053313665b2f7f7600b833e60.tar.bz2
Simplify
-rw-r--r--src/input/input_http.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c
index 3c48ce34e..1168abde5 100644
--- a/src/input/input_http.c
+++ b/src/input/input_http.c
@@ -287,8 +287,7 @@ static int http_plugin_read_metainf (http_input_plugin_t *this) {
lprintf ("http_plugin_read_metainf: songtitle: %s\n", songtitle);
- if (this->shoutcast_songtitle)
- free(this->shoutcast_songtitle);
+ free(this->shoutcast_songtitle);
this->shoutcast_songtitle = strdup(songtitle);
_x_meta_info_set(this->stream, XINE_META_INFO_TITLE, songtitle);