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:
Christian Decker 2021-02-25 14:47:43 +01:00 committed by Rusty Russell
parent 46d00962b4
commit c78e2cc024

View File

@ -436,4 +436,5 @@ int main(int argc, char *argv[])
/* Now we can refresh. */
assert(write(fd, "", 1) == 1);
gossmap_refresh(map);
common_shutdown();
}