fix memory leak of cp.PolyShape
Merge pull request #908 from joshuastray/develop

fix memory leak of cp.PolyShape