Permalink
Browse files

fix memory leak

  • Loading branch information...
jacob1 committed Aug 15, 2014
1 parent 2416a9b commit 7e9c507e643fb577ded0841e1b84c004d1f8e15b
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/gui/game/GameView.cpp
  2. +1 −0 src/simulation/Gravity.cpp
@@ -175,6 +175,7 @@ GameView::GameView():
isToolTipFadingIn(false),
isButtonTipFadingIn(false),
toolTipPosition(-1, -1),
saveSimulationButtonEnabled(false),
shiftBehaviour(false),
ctrlBehaviour(false),
altBehaviour(false),
@@ -74,6 +74,7 @@ void Gravity::gravity_cleanup()
free(gravx);
free(gravp);
free(gravmask);
free(obmap);
}
void Gravity::gravity_update_async()

0 comments on commit 7e9c507

Please sign in to comment.