fix memory leak
This commit is contained in:
parent
2416a9b454
commit
7e9c507e64
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user