mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fix Shape memory management
--HG-- branch : box2d-update
This commit is contained in:
@@ -39,6 +39,8 @@ namespace box2d
|
||||
|
||||
ChainShape::~ChainShape()
|
||||
{
|
||||
delete shape;
|
||||
shape = NULL;
|
||||
}
|
||||
|
||||
void ChainShape::setNextVertex(float x, float y)
|
||||
|
||||
Reference in New Issue
Block a user