mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
test: Fix memory leak in unit test run-gossmap_local
This was likely missed because we don't run the tests under valgrind anymore due to time constraints. I do run them on a semi-regular basis, which is why I found this.
This commit is contained in:
parent
46d00962b4
commit
c78e2cc024
@ -436,4 +436,5 @@ int main(int argc, char *argv[])
|
||||
/* Now we can refresh. */
|
||||
assert(write(fd, "", 1) == 1);
|
||||
gossmap_refresh(map);
|
||||
common_shutdown();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user