aboutsummaryrefslogtreecommitdiffstats
path: root/test/dump_playlist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/dump_playlist.cxx')
-rw-r--r--test/dump_playlist.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx
index 74486cd98..8eb1d6078 100644
--- a/test/dump_playlist.cxx
+++ b/test/dump_playlist.cxx
@@ -19,7 +19,7 @@
#include "config.h"
#include "TagSave.hxx"
-#include "song.h"
+#include "Song.hxx"
#include "Directory.hxx"
#include "input_stream.h"
#include "conf.h"
@@ -141,7 +141,7 @@ int main(int argc, char **argv)
struct input_stream *is = NULL;
GError *error = NULL;
struct playlist_provider *playlist;
- struct song *song;
+ Song *song;
if (argc != 3) {
g_printerr("Usage: dump_playlist CONFIG URI\n");
@@ -234,7 +234,7 @@ int main(int argc, char **argv)
if (song->tag != NULL)
tag_save(stdout, song->tag);
- song_free(song);
+ song->Free();
}
/* deinitialize everything */