aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/ProxyDatabasePlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-09 13:21:56 +0100
committerMax Kellermann <max@duempel.org>2014-01-09 13:21:56 +0100
commit0c34555b02f5d24f8c836534dcc30005a42f2c95 (patch)
treee07b85d3e6b5b165002a0ff9822a7f6c07eb10b2 /src/db/ProxyDatabasePlugin.cxx
parent83a988e2e48b85afe87c48f6a25d596b0c56054c (diff)
downloadmpd-0c34555b02f5d24f8c836534dcc30005a42f2c95.tar.gz
mpd-0c34555b02f5d24f8c836534dcc30005a42f2c95.tar.xz
mpd-0c34555b02f5d24f8c836534dcc30005a42f2c95.zip
Directory: remove method Free()
Diffstat (limited to 'src/db/ProxyDatabasePlugin.cxx')
-rw-r--r--src/db/ProxyDatabasePlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/ProxyDatabasePlugin.cxx b/src/db/ProxyDatabasePlugin.cxx
index 20eb196a6..94ed72263 100644
--- a/src/db/ProxyDatabasePlugin.cxx
+++ b/src/db/ProxyDatabasePlugin.cxx
@@ -251,7 +251,7 @@ ProxyDatabase::Open(Error &error)
void
ProxyDatabase::Close()
{
- root->Free();
+ delete root;
if (connection != nullptr)
mpd_connection_free(connection);