Release Notes
-
Added the
autoptr_zero_obj()
procedure for zeroing all bytes of the managed object excluding the autoptr struct.- The
autoptr_unbind()
precedure now callsautoptr_dtor()
which requires a valid autoptr struct during cleanup. This call occurs after the call to the object destructor. - The
autoptr_zero_obj()
procedure is to be used in place ofmemset()
for zeroing the managed object within object destructors in order to preserve the base autoptr struct.
- The
-
Updated the test programs.
- The test data structure now includes canary data for use during debugging cleanup. Also,
test_dtor()
now performs a call toautoptr_zero_obj()
as the last statement.
- The test data structure now includes canary data for use during debugging cleanup. Also,