Browse Source
When we clear and recreate ltmp, we attach it to whatever logbook it's on. This, of course, is fraught, since it may be freed. We could make it NULL-parented, but that makes YA special-case to free when we exit (we try to keep valgrind happy by freeing everything). So since the first log_book is the permanent one attached to lightningd, just keep that parent when we re-build it after use. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
Rusty Russell
7 years ago
committed by
Christian Decker
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue