diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-01-24 12:04:27 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-01-24 12:04:27 +0100 |
commit | 1ebf213faba82e93510ab689ea9a7ce92033a56a (patch) | |
tree | 17b2e60c5edabf933cf77db5497f2d3dbfbe10db /src/client.cpp | |
parent | 35cb994948858219a125f648c464ff2c0178bd73 (diff) | |
download | mana-1ebf213faba82e93510ab689ea9a7ce92033a56a.tar.gz mana-1ebf213faba82e93510ab689ea9a7ce92033a56a.tar.bz2 mana-1ebf213faba82e93510ab689ea9a7ce92033a56a.tar.xz mana-1ebf213faba82e93510ab689ea9a7ce92033a56a.zip |
Fixed potential crash on exit
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp index 92c8c63a..b7dca379 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -761,8 +761,7 @@ int Client::exec() // Load XML databases CharDB::load(); - if (itemDb) - delete itemDb; + delete itemDb; switch (Net::getNetworkType()) { |