mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +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:
committed by
Rusty Russell
parent
46d00962b4
commit
c78e2cc024
@@ -436,4 +436,5 @@ int main(int argc, char *argv[])
|
|||||||
/* Now we can refresh. */
|
/* Now we can refresh. */
|
||||||
assert(write(fd, "", 1) == 1);
|
assert(write(fd, "", 1) == 1);
|
||||||
gossmap_refresh(map);
|
gossmap_refresh(map);
|
||||||
|
common_shutdown();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user