diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-28 00:36:03 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-28 19:38:37 -0700 |
commit | 9c4f0d3a6e36f8901e3a85be6269b9ec652b8eea (patch) | |
tree | 11ca48cde39b1328164029e9a207d02364c82ecf /src/directory.c | |
parent | b6b3ceb7dd0cd35ed8f45b997a77e0dccfc6839a (diff) | |
download | mpd-9c4f0d3a6e36f8901e3a85be6269b9ec652b8eea.tar.gz mpd-9c4f0d3a6e36f8901e3a85be6269b9ec652b8eea.tar.xz mpd-9c4f0d3a6e36f8901e3a85be6269b9ec652b8eea.zip |
songvec_free => songvec_destroy
"free" implies the songvec structure itself is freed,
which is not the case.
Diffstat (limited to '')
-rw-r--r-- | src/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.c b/src/directory.c index 0e7933328..8dff8156e 100644 --- a/src/directory.c +++ b/src/directory.c @@ -221,7 +221,7 @@ static Directory *newDirectory(const char *dirname, Directory * parent) static void freeDirectory(Directory * directory) { freeDirectoryList(directory->subDirectories); - songvec_free(&directory->songs); + songvec_destroy(&directory->songs); if (directory->path) free(directory->path); free(directory); |