diff options
author | Eric Wong <normalperson@yhbt.net> | 2005-01-29 22:30:18 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2005-01-29 22:30:18 +0000 |
commit | fc4dc6c2298bca1ddf8777bc276ac2008c662030 (patch) | |
tree | 4175495a5623cba88fb9236b798c0c7125910554 /src/directory.c | |
parent | 1c8b2de44bab08e6b594843093d68ec1b245f853 (diff) |
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.c | 1 |
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); } |