aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/playlist_print.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/playlist_print.c b/src/playlist_print.c
index a6bf84ccd..59c42f969 100644
--- a/src/playlist_print.c
+++ b/src/playlist_print.c
@@ -163,6 +163,9 @@ playlist_provider_print(struct client *client, const char *uri,
song_print_info(client, song);
else
song_print_uri(client, song);
+
+ if (!song_in_database(song))
+ song_free(song);
}
g_free(base_uri);