aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/directory.c')
-rw-r--r--src/directory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c
index 0ace67dde..0a466a517 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -42,6 +42,8 @@ directory_new(const char *path, struct directory *parent)
directory->parent = parent;
memcpy(directory->path, path, pathlen + 1);
+ playlist_vector_init(&directory->playlists);
+
return directory;
}