summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-02-05 23:03:29 +0100
committerMax Kellermann <max@musicpd.org>2019-02-05 23:03:29 +0100
commite9c45a9140a6f10ae1e59bb5f7a6a4dc158a77aa (patch)
tree9389eda5fc4d562d788813d676b51f4fc9b02371 /test
parenta065c6e6b9655c2a87e42bd957d6a561d4a52f91 (diff)
playlist/Registry: add RAII class
Diffstat (limited to 'test')
-rw-r--r--test/dump_playlist.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx
index 111fbc47f..c4aea7de8 100644
--- a/test/dump_playlist.cxx
+++ b/test/dump_playlist.cxx
@@ -65,7 +65,7 @@ try {
io_thread.Start();
const ScopeInputPluginsInit input_plugins_init(config, io_thread.GetEventLoop());
- playlist_list_global_init(config);
+ const ScopePlaylistPluginsInit playlist_plugins_init(config);
const ScopeDecoderPluginsInit decoder_plugins_init(config);
/* open the playlist */
@@ -116,8 +116,6 @@ try {
playlist.reset();
is.reset();
- playlist_list_global_finish();
-
return EXIT_SUCCESS;
} catch (...) {
PrintException(std::current_exception());