aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 23:54:41 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 23:59:45 +0100
commit3d5c09480489c5d3a0e4e22a208a7362f3a3849e (patch)
treea3b186c4255621d4d51465f0702d5fee3e223c1c /src
parent6abc94ec07671387d505755bd0c785b310f1aafb (diff)
downloadmpd-3d5c09480489c5d3a0e4e22a208a7362f3a3849e.tar.gz
mpd-3d5c09480489c5d3a0e4e22a208a7362f3a3849e.tar.xz
mpd-3d5c09480489c5d3a0e4e22a208a7362f3a3849e.zip
PlaylistFile: fix memory leak
Diffstat (limited to 'src')
-rw-r--r--src/PlaylistFile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PlaylistFile.cxx b/src/PlaylistFile.cxx
index 67ffdff4f..03cd59d67 100644
--- a/src/PlaylistFile.cxx
+++ b/src/PlaylistFile.cxx
@@ -167,6 +167,7 @@ LoadPlaylistFileInfo(PlaylistFileInfo &info,
return false;
info.name = name_utf8;
+ g_free(name_utf8);
info.mtime = st.st_mtime;
return true;
}