Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Possibly memory leak SSGM
Re: Possibly memory leak SSGM [message #487468 is a reply to message #487458] Fri, 02 May 2014 11:13 Go to previous message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma:
General (2 Stars)

To add to what was already said:

The main difference between (Dynamic)VectorClass and Simple(Dyn)VecClass is that the latter variant assumes that the type can be constructed, destructed, and copied like plain memory. No (copy/move) constructors and destructors are called. Therefore the Simple* version should only be used with simple types (e.g. primitives, pointers, but not usually classes).

But yeah, they are real leaks, and they should ideally be fixed. There are many more small leaks like these though, I'm sure. It's not that harmful. Wink


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/

[Updated on: Fri, 02 May 2014 11:14]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Commands->Select_Weapon doesn't work clientside.
Next Topic: Quick brenbot question.
Goto Forum:
  


Current Time: Sun Dec 22 10:36:51 MST 2024

Total time taken to generate the page: 0.00625 seconds