fix memory leak

This commit is contained in:
jacob1 2014-08-15 12:15:13 -04:00
parent 2416a9b454
commit 7e9c507e64
2 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,7 @@ GameView::GameView():
isToolTipFadingIn(false), isToolTipFadingIn(false),
isButtonTipFadingIn(false), isButtonTipFadingIn(false),
toolTipPosition(-1, -1), toolTipPosition(-1, -1),
saveSimulationButtonEnabled(false),
shiftBehaviour(false), shiftBehaviour(false),
ctrlBehaviour(false), ctrlBehaviour(false),
altBehaviour(false), altBehaviour(false),

View File

@ -74,6 +74,7 @@ void Gravity::gravity_cleanup()
free(gravx); free(gravx);
free(gravp); free(gravp);
free(gravmask); free(gravmask);
free(obmap);
} }
void Gravity::gravity_update_async() void Gravity::gravity_update_async()