File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/Drawable/Draw
Generals/Code/GameEngineDevice/Source/W3DDevice/GameClient/Drawable/Draw Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,8 @@ W3DLaserDraw::~W3DLaserDraw( void )
234
234
} // end for i
235
235
236
236
delete [] m_line3D;
237
+ // TheSuperHackers @fix Mauller 11/03/2025 Free reference counted material
238
+ REF_PTR_RELEASE (m_texture);
237
239
}
238
240
239
241
// -------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -237,6 +237,8 @@ W3DLaserDraw::~W3DLaserDraw( void )
237
237
} // end for i
238
238
239
239
delete [] m_line3D;
240
+ // TheSuperHackers @fix Mauller 11/03/2025 Free reference counted material
241
+ REF_PTR_RELEASE (m_texture);
240
242
}
241
243
242
244
// -------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments