diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-09-23 23:47:32 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-09-23 23:47:32 +0000 |
commit | 7ca971f04907031b80ffbcb159e5af2f595e3af8 (patch) | |
tree | c7f0f210325acb35f63071797407d266ba7e9e35 /src/main.cpp | |
parent | c3d7827d18b725d2dff94e08a17474d607bb43dd (diff) | |
download | mana-7ca971f04907031b80ffbcb159e5af2f595e3af8.tar.gz mana-7ca971f04907031b80ffbcb159e5af2f595e3af8.tar.bz2 mana-7ca971f04907031b80ffbcb159e5af2f595e3af8.tar.xz mana-7ca971f04907031b80ffbcb159e5af2f595e3af8.zip |
Merged most of the changes in biggeruniverse's second memory cleanup patch.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 79e2a767..69158784 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -307,6 +307,9 @@ void exit_engine() // Shutdown libxml xmlCleanupParser(); + + // Shutdown sound + sound.close(); ResourceManager::deleteInstance(); delete logger; @@ -501,6 +504,7 @@ int main(int argc, char *argv[]) } } + fclose(nullFile); logger->log("State: EXIT"); exit_engine(); PHYSFS_deinit(); |