mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
Update lightningd/lightningd.c
Co-authored-by: neil saitug <niftynei@gmail.com>
This commit is contained in:
committed by
Christian Decker
parent
e0517a1022
commit
4bb92178b1
@@ -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.
|
||||
* 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
|
||||
* lightningd` frees them all.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user