aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-08 19:50:44 +0100
committerMax Kellermann <max@duempel.org>2014-01-08 19:50:44 +0100
commite490e5d0ab6f7ab2204329c0280310b33f3a49f4 (patch)
tree1fd8800d58780cb19615ee4a728872f8b0df0de8 /src/playlist
parent3a05c421e0c7f8662d16c6fa5449840bf0390ebe (diff)
downloadmpd-e490e5d0ab6f7ab2204329c0280310b33f3a49f4.tar.gz
mpd-e490e5d0ab6f7ab2204329c0280310b33f3a49f4.tar.xz
mpd-e490e5d0ab6f7ab2204329c0280310b33f3a49f4.zip
playlist/pls: don't free stack buffer
Diffstat (limited to 'src/playlist')
-rw-r--r--src/playlist/PlsPlaylistPlugin.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/playlist/PlsPlaylistPlugin.cxx b/src/playlist/PlsPlaylistPlugin.cxx
index d44a34cdf..99be3ad35 100644
--- a/src/playlist/PlsPlaylistPlugin.cxx
+++ b/src/playlist/PlsPlaylistPlugin.cxx
@@ -68,7 +68,6 @@ pls_parser(GKeyFile *keyfile, std::forward_list<SongPointer> &songs)
FormatError(pls_domain, "Invalid PLS entry %s: '%s'",
key, error->message);
g_error_free(error);
- g_free(key);
return;
}