diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
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(); } |