Change interface to allow storing of handle address in timer structure.
aispoll.h, aispoll.c:
  Change define for timer handle.
tlist.c:
  Store handle address in timer structure.  When timer expires, wipe
  out the handle address's value, since the timer is no longer valid.
  This allows double frees, or frees on handles that haven't been
  added.
  One note of caution: a handle cannot be moved into another variable
  and be expected to work properly for double frees.

BKrev: 4152267afe09VjiyO_78GrWKiND_oQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@278 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2004-09-23 01:27:22 +00:00
parent c8fa82b571
commit 1a986df850

Diff Content Not Available