#include #include #include #include int debug_poll(struct pollfd *fds, nfds_t nfds, int timeout) { const char *t; t = taken_any(); if (t) errx(1, "Outstanding taken pointers: %s", t); clean_tmpctx(); return poll(fds, nfds, timeout); }