From 1a986df8505aaad5aa365bd57dc57a83ec2ab541 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 23 Sep 2004 01:27:22 +0000 Subject: [PATCH] tlist.h: 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