| 3050 | } |
| 3051 | |
| 3052 | static void onchaind_memleak_req_done(struct subd *onchaind, |
| 3053 | const u8 *msg, const int *fds UNUSED, |
| 3054 | struct leak_detect *leaks) |
| 3055 | { |
| 3056 | bool found_leak; |
| 3057 | |
| 3058 | if (!fromwire_onchaind_dev_memleak_reply(msg, &found_leak)) |
| 3059 | fatal("Bad onchaind_dev_memleak"); |
| 3060 | |
| 3061 | if (found_leak) |
| 3062 | report_subd_memleak(leaks, onchaind); |
| 3063 | } |
| 3064 | |
| 3065 | static void openingd_memleak_req_done(struct subd *open_daemon, |
| 3066 | const u8 *msg, const int *fds UNUSED, |
nothing calls this directly
no test coverage detected