Fix Shape memory management

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-24 00:41:42 -04:00
parent dc5cfc928c
commit a446ddacc4
5 changed files with 25 additions and 18 deletions
@@ -37,6 +37,8 @@ namespace box2d
PolygonShape::~PolygonShape()
{
delete shape;
shape = NULL;
}
int PolygonShape::getPoints(lua_State * L)