mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-21 23:04:22 +01:00
This seems like a premature optimization: it tried to cut down the number of allocations by reusing the same `struct invoice_details` while iterating through a number of results. But this sidesteps the checks by `valgrind` and we'd miss a missing field that was set by the previous iteration. Reported-by: @rustyrussell Signed-off-by: Christian Decker <@cdecker>