projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0025361: Sample "Voxel" crashes during "Demo - Collisions" demonstration
[occt.git]
/
src
/
Voxel
/
Voxel_CollisionDetection.cxx
diff --git
a/src/Voxel/Voxel_CollisionDetection.cxx
b/src/Voxel/Voxel_CollisionDetection.cxx
index
884bb76
..
bb974b3
100644
(file)
--- a/
src/Voxel/Voxel_CollisionDetection.cxx
+++ b/
src/Voxel/Voxel_CollisionDetection.cxx
@@
-271,7
+271,7
@@
void Voxel_CollisionDetection::Clear()
{
if (myVoxels)
{
{
if (myVoxels)
{
- delete ((Voxel_BoolDS*)myVoxels);
+ delete
[]
((Voxel_BoolDS*)myVoxels);
myVoxels = 0;
}
}
myVoxels = 0;
}
}