Created
October 10, 2018 05:19
-
-
Save Quipyowert2/9b3517706759173c4826bcac093ffbb3 to your computer and use it in GitHub Desktop.
Fix mismatched free delete in Zaz 'game.cpp' sourceforge.net/p/zaz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/game.cpp b/src/game.cpp | |
index 89bb76f..5004bae 100755 | |
--- a/src/game.cpp | |
+++ b/src/game.cpp | |
@@ -265,7 +265,7 @@ Game::~Game() | |
delete ballPaths[b]; | |
} | |
- delete ballPaths; | |
+ delete[] ballPaths; | |
if (ownTextures) | |
glDeleteTextures(14, ballText); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment