Skip to content

Commit 8e36fbd

Browse files
committed
[GEN] Fix wrong delete function used in meshmodel class when deallocating gapfiller (#623)
1 parent 1faccd9 commit 8e36fbd

File tree

1 file changed

+1
-1
lines changed
  • Generals/Code/Libraries/Source/WWVegas/WW3D2

1 file changed

+1
-1
lines changed

Generals/Code/Libraries/Source/WWVegas/WW3D2/meshmdl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ MeshModelClass & MeshModelClass::operator = (const MeshModelClass & that)
141141
clone_materials(that);
142142

143143
if (GapFiller) {
144-
delete[] GapFiller;
144+
delete GapFiller;
145145
GapFiller=NULL;
146146
}
147147
if (that.GapFiller) GapFiller=W3DNEW GapFillerClass(*that.GapFiller);

0 commit comments

Comments
 (0)