aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderThread.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-01 18:35:37 +0200
committerMax Kellermann <max@duempel.org>2013-10-02 08:56:27 +0200
commit43675717b83b8502dcf7a2254195f771c50d8cec (patch)
tree4816eda1f2caa59ec3bb9a353704e9244375e883 /src/DecoderThread.cxx
parentb21ed2fa3673cf2fbdc4142c07d60c499e5f877e (diff)
downloadmpd-43675717b83b8502dcf7a2254195f771c50d8cec.tar.gz
mpd-43675717b83b8502dcf7a2254195f771c50d8cec.tar.xz
mpd-43675717b83b8502dcf7a2254195f771c50d8cec.zip
filesystem/Path: use std::string
Diffstat (limited to 'src/DecoderThread.cxx')
-rw-r--r--src/DecoderThread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DecoderThread.cxx b/src/DecoderThread.cxx
index 5d7bf3e5f..2c07689df 100644
--- a/src/DecoderThread.cxx
+++ b/src/DecoderThread.cxx
@@ -426,7 +426,7 @@ decoder_run(struct decoder_control *dc)
assert(song != NULL);
if (song->IsFile())
- uri = map_song_fs(song).Steal();
+ uri = g_strdup(map_song_fs(song).c_str());
else
uri = song->GetURI();