lib/waiter: talloc waiters from waitset context
authorJeremy Kerr <jk@ozlabs.org>
Wed, 14 Aug 2013 06:55:46 +0000 (14:55 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 16 Aug 2013 06:41:08 +0000 (14:41 +0800)
commit4109b0059599c2e7b44e89d80b953233c2ba575e
treec233cba884ff4ac2f176eaaba5898b4ebb5093de
parentba40c0ea7bedec01513537fd2dc3e0b75f439929
lib/waiter: talloc waiters from waitset context

We can lose a reference to the first waiter allocated, as set->waiters
may be NULL.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/waiter/waiter.c