aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-16 19:20:40 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-16 19:20:40 +0000
commitfefd214b8e06d04f060d2db680dfba9aa359568b (patch)
treeec8afe535b406e656e7f5daa28748bbc36acadb3
parent93c8aa8b714e026f03ed8afe2dcfd88521658172 (diff)
downloadmpd-fefd214b8e06d04f060d2db680dfba9aa359568b.tar.gz
mpd-fefd214b8e06d04f060d2db680dfba9aa359568b.tar.xz
mpd-fefd214b8e06d04f060d2db680dfba9aa359568b.zip
One more leak
git-svn-id: https://svn.musicpd.org/mpd/trunk@4373 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/ls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ls.c b/src/ls.c
index 2c09f8b3a..fcc4b7d0f 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -142,6 +142,7 @@ int lsPlaylists(FILE * fp, char * utf8path) {
dup[suff] = '\0';
if((utf8 = fsCharsetToUtf8(dup))) {
insertInList(list,utf8,NULL);
+ free(utf8);
}
}
}