aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/directory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c
index 0a466a517..fa15d41b1 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -50,6 +50,8 @@ directory_new(const char *path, struct directory *parent)
void
directory_free(struct directory *directory)
{
+ playlist_vector_deinit(&directory->playlists);
+
for (unsigned i = 0; i < directory->songs.nr; ++i)
song_free(directory->songs.base[i]);