| 226 | } |
| 227 | |
| 228 | static void gossip_dev_memleak_done(struct subd *gossipd, |
| 229 | const u8 *reply, |
| 230 | const int *fds UNUSED, |
| 231 | struct leak_detect *leaks) |
| 232 | { |
| 233 | bool found_leak; |
| 234 | |
| 235 | if (!fromwire_gossipd_dev_memleak_reply(reply, &found_leak)) |
| 236 | fatal("Bad gossip_dev_memleak"); |
| 237 | |
| 238 | if (found_leak) |
| 239 | report_subd_memleak(leaks, gossipd); |
| 240 | } |
| 241 | |
| 242 | static void connect_dev_memleak_done(struct subd *connectd, |
| 243 | const u8 *reply, |
nothing calls this directly
no test coverage detected