diff options
author | Max Kellermann <max@duempel.org> | 2010-07-25 13:31:39 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-07-25 13:31:39 +0200 |
commit | bedb82bf4d88a533e37f330665ff67d031f31cb8 (patch) | |
tree | 6e295f6c138ac0b5923870b5c3d93530566f2a8c /src | |
parent | cbb1ab58cdf18b59488d543427cd4ec238426bf8 (diff) | |
download | mpd-bedb82bf4d88a533e37f330665ff67d031f31cb8.tar.gz mpd-bedb82bf4d88a533e37f330665ff67d031f31cb8.tar.xz mpd-bedb82bf4d88a533e37f330665ff67d031f31cb8.zip |
directory: free playlist vector in directory_free()
Diffstat (limited to 'src')
-rw-r--r-- | src/directory.c | 2 |
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]); |