| 209 | } |
| 210 | |
| 211 | static void connect_dev_memleak_done(struct subd *connectd, |
| 212 | const u8 *reply, |
| 213 | const int *fds UNUSED, |
| 214 | struct leak_detect *leaks) |
| 215 | { |
| 216 | bool found_leak; |
| 217 | |
| 218 | if (!fromwire_connectd_dev_memleak_reply(reply, &found_leak)) |
| 219 | fatal("Bad connect_dev_memleak"); |
| 220 | |
| 221 | if (found_leak) |
| 222 | report_subd_memleak(leaks, connectd); |
| 223 | } |
| 224 | |
| 225 | static struct command_result *json_memleak(struct command *cmd, |
| 226 | const char *buffer, |
nothing calls this directly
no test coverage detected