summaryrefslogtreecommitdiff
path: root/test/dump_playlist.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-20 19:56:44 +0100
committerMax Kellermann <max@musicpd.org>2018-01-20 19:59:42 +0100
commit0095e2d7d8a896f68ecb8fe51c294bca5a392008 (patch)
treea331bd82ee5f1c5cb9ede78c1068951b3b578b8d /test/dump_playlist.cxx
parent147f64e1fc2220ba5fc6edcbb4616a911d9be234 (diff)
playlist/Plugin: use std::unique_ptr<SongEnumerator>
Diffstat (limited to 'test/dump_playlist.cxx')
-rw-r--r--test/dump_playlist.cxx2
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();