From 43675717b83b8502dcf7a2254195f771c50d8cec Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 1 Oct 2013 18:35:37 +0200 Subject: filesystem/Path: use std::string --- src/DecoderThread.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/DecoderThread.cxx') 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(); -- cgit v1.2.3