Hi James,

just a guess here, but in the past, I had to fix issues brought when converting 
raw pointers to smart pointers and ending up deleting the pointer given by the 
smart pointer explicitly. For example :

SGSharedPtr<MyClass> myPtr = new MyClass;

then

delete myPtr;
or
delete myPtr.get();

afterward, the destructor of SGSharedPtr<MyClass> does another delete on the 
same memory and may crash, depending the system and the memory layout


Regards,
-Fred

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to