tests: Fix a small memory leak in the onion test vector tester

Changelog-None
This commit is contained in:
Christian Decker
2022-12-16 15:22:50 +01:00
committed by Rusty Russell
parent 6fe6395678
commit bcc75b6e98

View File

@@ -197,6 +197,10 @@ int main(int argc, char *argv[])
} }
assert(!op); assert(!op);
for (size_t j=0; j<ARRAY_SIZE(payloads); j++) {
tal_free(payloads[j]);
}
out: out:
common_shutdown(); common_shutdown();
} }