free(name) in readDirectoryInfo after using it

git-svn-id: https://svn.musicpd.org/mpd/trunk@2911 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Eric Wong 2005-01-29 22:30:18 +00:00
parent 1c8b2de44b
commit fc4dc6c229

View File

@ -943,6 +943,7 @@ void readDirectoryInfo(FILE * fp,Directory * directory) {
(void *)subDirectory);
}
free(name);
free(key);
readDirectoryInfo(fp,subDirectory);
}