diff options
author | Max Kellermann <max@musicpd.org> | 2018-01-20 19:56:44 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-20 19:59:42 +0100 |
commit | 0095e2d7d8a896f68ecb8fe51c294bca5a392008 (patch) | |
tree | a331bd82ee5f1c5cb9ede78c1068951b3b578b8d /test/dump_playlist.cxx | |
parent | 147f64e1fc2220ba5fc6edcbb4616a911d9be234 (diff) |
playlist/Plugin: use std::unique_ptr<SongEnumerator>
Diffstat (limited to 'test/dump_playlist.cxx')
-rw-r--r-- | test/dump_playlist.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx index 3cb75a5c9..1eb84b8f8 100644 --- a/test/dump_playlist.cxx +++ b/test/dump_playlist.cxx @@ -117,7 +117,7 @@ try { /* deinitialize everything */ - delete playlist; + playlist.reset(); is.reset(); decoder_plugin_deinit_all(); |