From 12085038881a4aba94c74b7104c5090bc777001e Mon Sep 17 00:00:00 2001 From: FlashSystems Date: Tue, 28 Nov 2017 17:37:09 +0100 Subject: [PATCH] Removing gcc_malloc attribute from `Directory::CreateChild` to fix assignment of `mnt->mounted_database` in `SimpleDatabase::Mount`. --- NEWS | 1 + src/db/plugins/simple/Directory.hxx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index c8969c55d..6cd9c76fc 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ ver 0.20.13 (not yet released) * database - simple: don't purge mount points on update/rescan + - simple: fix "mount" bug caused by bad compiler optimization - upnp: work around libupnp 1.6.24 API breakage * queue: fix spuriously misplaced prioritized songs diff --git a/src/db/plugins/simple/Directory.hxx b/src/db/plugins/simple/Directory.hxx index 99572a4b4..8545ba092 100644 --- a/src/db/plugins/simple/Directory.hxx +++ b/src/db/plugins/simple/Directory.hxx @@ -127,7 +127,6 @@ public: * * @param name_utf8 the UTF-8 encoded name of the new sub directory */ - gcc_malloc Directory *CreateChild(const char *name_utf8); /**