diff options
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_Application.cpp')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_Application.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp index 752b776beff..4cd5184fee1 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp @@ -139,7 +139,7 @@ GPG_Application::GPG_Application(GHOST_ISystem* system) GPG_Application::~GPG_Application(void) { if(m_pyGlobalDictString) { - delete m_pyGlobalDictString; + delete [] m_pyGlobalDictString; m_pyGlobalDictString = 0; m_pyGlobalDictString_Length = 0; } @@ -729,7 +729,7 @@ void GPG_Application::stopEngine() // m_pyGlobalDictString so we can restore after python has stopped // and started between .blend file loads. if(m_pyGlobalDictString) { - delete m_pyGlobalDictString; + delete [] m_pyGlobalDictString; m_pyGlobalDictString = 0; } |