diff options
author | Max Kellermann <max@duempel.org> | 2014-06-10 22:51:48 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-06-10 23:21:09 +0200 |
commit | dfcb5729853945f27188780fc1cf50d3c09c3188 (patch) | |
tree | d43ad8d727bab1ec429280126c0af0fae3ad0559 | |
parent | 1d324176d1e2524c92f6c1f474e30da4b03e636f (diff) | |
download | mpd-dfcb5729853945f27188780fc1cf50d3c09c3188.tar.gz mpd-dfcb5729853945f27188780fc1cf50d3c09c3188.tar.xz mpd-dfcb5729853945f27188780fc1cf50d3c09c3188.zip |
Main: delete the Storage instance on shutdown
-rw-r--r-- | src/Main.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main.cxx b/src/Main.cxx index 5a33e121b..e914d876c 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -661,6 +661,8 @@ int mpd_main(int argc, char *argv[]) instance->database->Close(); delete instance->database; } + + delete instance->storage; #endif #ifdef ENABLE_SQLITE |