| 3076 | } |
| 3077 | |
| 3078 | static void dualopend_memleak_req_done(struct subd *dualopend, |
| 3079 | const u8 *msg, const int *fds UNUSED, |
| 3080 | struct leak_detect *leaks) |
| 3081 | { |
| 3082 | bool found_leak; |
| 3083 | |
| 3084 | if (!fromwire_dualopend_dev_memleak_reply(msg, &found_leak)) |
| 3085 | fatal("Bad dualopend_dev_memleak"); |
| 3086 | |
| 3087 | if (found_leak) |
| 3088 | report_subd_memleak(leaks, dualopend); |
| 3089 | } |
| 3090 | |
| 3091 | void peer_dev_memleak(struct lightningd *ld, struct leak_detect *leaks) |
| 3092 | { |
nothing calls this directly
no test coverage detected