Main: delete the Storage instance on shutdown

This commit is contained in:
Max Kellermann 2014-06-10 22:51:48 +02:00
parent 1d324176d1
commit dfcb572985
1 changed files with 2 additions and 0 deletions

View File

@ -661,6 +661,8 @@ int mpd_main(int argc, char *argv[])
instance->database->Close();
delete instance->database;
}
delete instance->storage;
#endif
#ifdef ENABLE_SQLITE