mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-12 03:14:04 +02:00
fix memory leak
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user