Re: Possibly memory leak SSGM [message #487468 is a reply to message #487458] |
Fri, 02 May 2014 11:13 |
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.
BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
[Updated on: Fri, 02 May 2014 11:14] Report message to a moderator
|
|
|