aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/GmeDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-04-10 13:49:20 +0200
committerMax Kellermann <max@duempel.org>2014-04-10 13:49:20 +0200
commit1c02b4b9f4147521d466e14784c5f3cc14b7f6a9 (patch)
tree27bd7c746a3f0dbe80d24a157e9225491bd3d280 /src/decoder/plugins/GmeDecoderPlugin.cxx
parentafdefefbe4b39ddcca8b9fedd37cafdc949cc3d5 (diff)
parentd0119548c116ae038b1a1f625f11c4815d3a4bd8 (diff)
downloadmpd-1c02b4b9f4147521d466e14784c5f3cc14b7f6a9.tar.gz
mpd-1c02b4b9f4147521d466e14784c5f3cc14b7f6a9.tar.xz
mpd-1c02b4b9f4147521d466e14784c5f3cc14b7f6a9.zip
Merge tag 'release-0.18.10'
Diffstat (limited to 'src/decoder/plugins/GmeDecoderPlugin.cxx')
-rw-r--r--src/decoder/plugins/GmeDecoderPlugin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/decoder/plugins/GmeDecoderPlugin.cxx b/src/decoder/plugins/GmeDecoderPlugin.cxx
index 2390af2d2..469da2540 100644
--- a/src/decoder/plugins/GmeDecoderPlugin.cxx
+++ b/src/decoder/plugins/GmeDecoderPlugin.cxx
@@ -120,6 +120,7 @@ gme_container_scan(Path path_fs, const unsigned int tnum)
}
const unsigned num_songs = gme_track_count(emu);
+ gme_delete(emu);
/* if it only contains a single tune, don't treat as container */
if (num_songs < 2)
return nullptr;