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