From e490e5d0ab6f7ab2204329c0280310b33f3a49f4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Jan 2014 19:50:44 +0100 Subject: playlist/pls: don't free stack buffer --- NEWS | 1 + src/playlist/PlsPlaylistPlugin.cxx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 41a44e05e..e222e0965 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ ver 0.18.7 (not yet released) * playlist + - pls: fix crash after parser error - soundcloud: fix build failure with libyajl 2.0.1 * daemon: don't initialize supplementary groups when already running as the configured user 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 &songs) FormatError(pls_domain, "Invalid PLS entry %s: '%s'", key, error->message); g_error_free(error); - g_free(key); return; } -- cgit v1.2.3