Skip to content

Version 0.2.0

Latest
Compare
Choose a tag to compare
@jgraha8 jgraha8 released this 15 Feb 04:32
· 6 commits to master since this release

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 calls autoptr_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 of memset() for zeroing the managed object within object destructors in order to preserve the base autoptr struct.
  • Updated the test programs.

    • The test data structure now includes canary data for use during debugging cleanup. Also, test_dtor() now performs a call to autoptr_zero_obj() as the last statement.