Main: delete the Storage instance on shutdown
This commit is contained in:
parent
1d324176d1
commit
dfcb572985
|
@ -661,6 +661,8 @@ int mpd_main(int argc, char *argv[])
|
|||
instance->database->Close();
|
||||
delete instance->database;
|
||||
}
|
||||
|
||||
delete instance->storage;
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_SQLITE
|
||||
|
|
Loading…
Reference in New Issue