Commit fc4dc6c2 authored by Eric Wong's avatar Eric Wong

free(name) in readDirectoryInfo after using it

git-svn-id: https://svn.musicpd.org/mpd/trunk@2911 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 1c8b2de4
......@@ -943,6 +943,7 @@ void readDirectoryInfo(FILE * fp,Directory * directory) {
(void *)subDirectory);
}
free(name);
free(key);
readDirectoryInfo(fp,subDirectory);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment