Skip to content
Snippets Groups Projects
Commit 94b087cb authored by Olivier Couet's avatar Olivier Couet
Browse files

- coverity #12110 #12111

git-svn-id: http://root.cern.ch/svn/root/trunk@35964 27541ba8-7e3a-0410-8455-c3a389f83636
parent bdba9da4
No related branches found
No related tags found
No related merge requests found
......@@ -437,6 +437,7 @@ Int_t TViewerX3D::AddObject(const TBuffer3D & buffer, Bool_t * addChildren)
x3dBuff->polys = buffer.fPols;
FillX3DBuffer(x3dBuff);
delete [] x3dBuff->points;
delete x3dBuff;
break;
}
default: {
......@@ -508,6 +509,7 @@ void TViewerX3D::PaintPolyMarker(const TBuffer3D & buffer) const
FillX3DBuffer(x3dBuff);
delete [] x3dBuff->points;
delete [] x3dBuff->segs;
delete x3dBuff;
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment