REVIEW: Memory Leak - SGTexturedTriangleBin::buildGeometry()

42,560 bytes in 280 blocks are definitely lost
This commit is contained in:
Scott Giese
2020-08-22 17:10:43 -05:00
parent 34ca004e95
commit bcb22691fc

View File

@@ -433,6 +433,7 @@ public:
osg::Vec3Array* vertices = new osg::Vec3Array;
osg::Vec3Array* normals = new osg::Vec3Array;
osg::Vec2Array* priTexCoords = new osg::Vec2Array;
// REVIEW: Memory Leak - 42,560 bytes in 280 blocks are definitely lost
osg::Vec2Array* secTexCoords = new osg::Vec2Array;
osg::Vec4Array* colors = new osg::Vec4Array;