aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2005-01-29 22:30:18 +0000
committerEric Wong <normalperson@yhbt.net>2005-01-29 22:30:18 +0000
commitfc4dc6c2298bca1ddf8777bc276ac2008c662030 (patch)
tree4175495a5623cba88fb9236b798c0c7125910554 /src/directory.c
parent1c8b2de44bab08e6b594843093d68ec1b245f853 (diff)
downloadmpd-fc4dc6c2298bca1ddf8777bc276ac2008c662030.tar.gz
mpd-fc4dc6c2298bca1ddf8777bc276ac2008c662030.tar.xz
mpd-fc4dc6c2298bca1ddf8777bc276ac2008c662030.zip
free(name) in readDirectoryInfo after using it
git-svn-id: https://svn.musicpd.org/mpd/trunk@2911 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/directory.c')
-rw-r--r--src/directory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c
index d7163be41..b30d2051b 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -943,6 +943,7 @@ void readDirectoryInfo(FILE * fp,Directory * directory) {
(void *)subDirectory);
}
+ free(name);
free(key);
readDirectoryInfo(fp,subDirectory);
}