Update lightningd/lightningd.c

Co-authored-by: neil saitug <niftynei@gmail.com>
This commit is contained in:
Rusty Russell
2020-05-19 13:30:42 +09:30
committed by Christian Decker
parent e0517a1022
commit 4bb92178b1

View File

@@ -107,7 +107,7 @@ static struct lightningd *new_lightningd(const tal_t *ctx)
* *
* It's incredibly useful for grouping object lifetimes, as we'll see. * It's incredibly useful for grouping object lifetimes, as we'll see.
* For example, a `struct lightningd` has a pointer to a `log_book` * For example, a `struct lightningd` has a pointer to a `log_book`
* which is allocated off the `struct lightnintd`, and has its own * which is allocated off the `struct lightningd`, and has its own
* internal members allocated off `log_book`: freeing `struct * internal members allocated off `log_book`: freeing `struct
* lightningd` frees them all. * lightningd` frees them all.
* *