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:
parent
1c8b2de44b
commit
fc4dc6c229
@ -943,6 +943,7 @@ void readDirectoryInfo(FILE * fp,Directory * directory) {
|
|||||||
(void *)subDirectory);
|
(void *)subDirectory);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(name);
|
||||||
free(key);
|
free(key);
|
||||||
readDirectoryInfo(fp,subDirectory);
|
readDirectoryInfo(fp,subDirectory);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user