Commit dfcb5729 authored by Max Kellermann's avatar Max Kellermann

Main: delete the Storage instance on shutdown

parent 1d324176
...@@ -661,6 +661,8 @@ int mpd_main(int argc, char *argv[]) ...@@ -661,6 +661,8 @@ int mpd_main(int argc, char *argv[])
instance->database->Close(); instance->database->Close();
delete instance->database; delete instance->database;
} }
delete instance->storage;
#endif #endif
#ifdef ENABLE_SQLITE #ifdef ENABLE_SQLITE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment