MCPcopy Create free account
hub / github.com/ElementsProject/lightning / subd_release_channel

Function subd_release_channel

lightningd/subd.c:928–936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

926}
927
928void subd_release_channel(struct subd *owner, const void *channel)
929{
930 /* If owner is a per-peer-daemon, and not already freeing itself... */
931 if (owner->channel) {
932 assert(owner->channel == channel);
933 owner->channel = NULL;
934 tal_free(owner);
935 }
936}
937
938char *opt_subd_dev_disconnect(const char *optarg, struct lightningd *ld)
939{

Callers 2

channel_set_ownerFunction · 0.70

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected