From bcc75b6e98c139e578bfa3dd7e85dc170f577559 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 16 Dec 2022 15:22:50 +0100 Subject: [PATCH] tests: Fix a small memory leak in the onion test vector tester Changelog-None --- common/test/run-onion-test-vector.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/test/run-onion-test-vector.c b/common/test/run-onion-test-vector.c index 9c1dd4de7..14a1be1b4 100644 --- a/common/test/run-onion-test-vector.c +++ b/common/test/run-onion-test-vector.c @@ -197,6 +197,10 @@ int main(int argc, char *argv[]) } assert(!op); + for (size_t j=0; j