mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
tests: Fix a small memory leak in the onion test vector tester
Changelog-None
This commit is contained in:
committed by
Rusty Russell
parent
6fe6395678
commit
bcc75b6e98
@@ -197,6 +197,10 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
assert(!op);
|
||||
|
||||
for (size_t j=0; j<ARRAY_SIZE(payloads); j++) {
|
||||
tal_free(payloads[j]);
|
||||
}
|
||||
|
||||
out:
|
||||
common_shutdown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user