mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
3404c393b7
For now we just check for outstanding take() or tal_tmpctx(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
10 lines
295 B
C
10 lines
295 B
C
#ifndef LIGHTNING_COMMON_IO_DEBUG_H
|
|
#define LIGHTNING_COMMON_IO_DEBUG_H
|
|
#include "config.h"
|
|
#include <poll.h>
|
|
|
|
/* Replacement poll which checks for memory leaks in middle of ccan/io loop. */
|
|
int debug_poll(struct pollfd *fds, nfds_t nfds, int timeout);
|
|
|
|
#endif /* LIGHTNING_COMMON_IO_DEBUG_H */
|