[ODE] bug in dxHeightfieldData dtor

Martijn Buijs buijs512 at planet.nl
Wed Aug 2 13:03:10 MST 2006

There's a small bug in the dxHeightfieldData() destructor. It attempts to free the sample data by
deleting a void pointer. AFAIK it needs to be typecast to the correct type, otherwise the behavior
is undefined (although it compiles/runs fine on VC++2005), correct?

Thanks Bram for this one.


More information about the ODE mailing list