| 240 | } |
| 241 | |
| 242 | static void connect_dev_memleak_done(struct subd *connectd, |
| 243 | const u8 *reply, |
| 244 | const int *fds UNUSED, |
| 245 | struct leak_detect *leaks) |
| 246 | { |
| 247 | bool found_leak; |
| 248 | |
| 249 | if (!fromwire_connectd_dev_memleak_reply(reply, &found_leak)) |
| 250 | fatal("Bad connect_dev_memleak"); |
| 251 | |
| 252 | if (found_leak) |
| 253 | report_subd_memleak(leaks, connectd); |
| 254 | } |
| 255 | |
| 256 | static struct command_result *json_memleak(struct command *cmd, |
| 257 | const char *buffer, |
nothing calls this directly
no test coverage detected