Fix memleak in physics_restitution example (#932)
This commit is contained in:
parent
5f1990e044
commit
f3555a1016
@ -120,6 +120,10 @@ int main(void)
|
||||
|
||||
// De-Initialization
|
||||
//--------------------------------------------------------------------------------------
|
||||
DestroyPhysicsBody(circleA);
|
||||
DestroyPhysicsBody(circleB);
|
||||
DestroyPhysicsBody(circleC);
|
||||
DestroyPhysicsBody(floor);
|
||||
ClosePhysics(); // Unitialize physics
|
||||
|
||||
CloseWindow(); // Close window and OpenGL context
|
||||
|
Loading…
Reference in New Issue
Block a user