summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-23 16:24:39 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-23 16:24:39 +0000
commit4e7be9f904f70e4a2e3d598602d03cddeaef8a74 (patch)
tree07d89ce6694ddff306093d9e2291c46dadbdb1ca /src/main.cpp
parente0a956b4045ca09631d9a9a616ca675f2c1f4a78 (diff)
downloadmana-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.tar.gz
mana-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.tar.bz2
mana-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.tar.xz
mana-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.zip
Uninitialized variable and free/delete/delete[] mismatch fixes.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c2f2f0fa..6f9eeeb0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -281,7 +281,7 @@ void init_engine() {
/** Clear the engine */
void exit_engine() {
config.write(dir);
- delete dir;
+ delete[] dir;
gui_exit();
ResourceManager::deleteInstance();
}