mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Fix Shape memory management
--HG-- branch : box2d-update
This commit is contained in:
@@ -37,6 +37,8 @@ namespace box2d
|
||||
|
||||
PolygonShape::~PolygonShape()
|
||||
{
|
||||
delete shape;
|
||||
shape = NULL;
|
||||
}
|
||||
|
||||
int PolygonShape::getPoints(lua_State * L)
|
||||
|
||||
Reference in New Issue
Block a user