Skip to content

Commit

Permalink
fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Aug 15, 2014
1 parent 2416a9b commit 7e9c507
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/game/GameView.cpp
Expand Up @@ -175,6 +175,7 @@ GameView::GameView():
isToolTipFadingIn(false),
isButtonTipFadingIn(false),
toolTipPosition(-1, -1),
saveSimulationButtonEnabled(false),
shiftBehaviour(false),
ctrlBehaviour(false),
altBehaviour(false),
Expand Down
1 change: 1 addition & 0 deletions src/simulation/Gravity.cpp
Expand Up @@ -74,6 +74,7 @@ void Gravity::gravity_cleanup()
free(gravx);
free(gravp);
free(gravmask);
free(obmap);
}

void Gravity::gravity_update_async()
Expand Down

0 comments on commit 7e9c507

Please sign in to comment.