mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 09:04: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);
|
assert(!op);
|
||||||
|
|
||||||
|
for (size_t j=0; j<ARRAY_SIZE(payloads); j++) {
|
||||||
|
tal_free(payloads[j]);
|
||||||
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
common_shutdown();
|
common_shutdown();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user