| 3037 | AUTODATA(json_command, &dev_forget_channel_command); |
| 3038 | |
| 3039 | static void channeld_memleak_req_done(struct subd *channeld, |
| 3040 | const u8 *msg, const int *fds UNUSED, |
| 3041 | struct leak_detect *leaks) |
| 3042 | { |
| 3043 | bool found_leak; |
| 3044 | |
| 3045 | if (!fromwire_channeld_dev_memleak_reply(msg, &found_leak)) |
| 3046 | fatal("Bad channel_dev_memleak"); |
| 3047 | |
| 3048 | if (found_leak) |
| 3049 | report_subd_memleak(leaks, channeld); |
| 3050 | } |
| 3051 | |
| 3052 | static void onchaind_memleak_req_done(struct subd *onchaind, |
| 3053 | const u8 *msg, const int *fds UNUSED, |
nothing calls this directly
no test coverage detected