Will the leaks never end?!

git-svn-id: https://svn.musicpd.org/mpd/trunk@4375 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
J. Alexander Treuman 2006-07-16 19:55:01 +00:00
parent 25c37e9276
commit 39615044e3

View File

@ -181,10 +181,15 @@ int lsPlaylists(FILE * fp, char * utf8path) {
int myStat(char * utf8file, struct stat * st) {
char * file = utf8ToFsCharset(utf8file);
char * actualFile = file;
int ret;
if(actualFile[0]!='/') actualFile = rmp2amp(file);
return stat(actualFile,st);
ret = stat(actualFile,st);
free(file);
return ret;
}
static int isFile(char * utf8file, time_t * mtime) {