Skip to content

Commit 2aa3221

Browse files
Maullerxezon
authored andcommitted
[GEN] Fix wrong delete function usage in ~MeshModelClass() (TheSuperHackers#623)
1 parent 939ee2a commit 2aa3221

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

Lines changed: 1 addition & 1 deletion
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)