| 195 | } |
| 196 | |
| 197 | static void gossip_dev_memleak_done(struct subd *gossipd, |
| 198 | const u8 *reply, |
| 199 | const int *fds UNUSED, |
| 200 | struct leak_detect *leaks) |
| 201 | { |
| 202 | bool found_leak; |
| 203 | |
| 204 | if (!fromwire_gossipd_dev_memleak_reply(reply, &found_leak)) |
| 205 | fatal("Bad gossip_dev_memleak"); |
| 206 | |
| 207 | if (found_leak) |
| 208 | report_subd_memleak(leaks, gossipd); |
| 209 | } |
| 210 | |
| 211 | static void connect_dev_memleak_done(struct subd *connectd, |
| 212 | const u8 *reply, |
nothing calls this directly
no test coverage detected