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

Function setup_tmpctx

common/utils.c:121–126  ·  view source on GitHub ↗

Initial creation of tmpctx. */

Source from the content-addressed store, hash-verified

119
120/* Initial creation of tmpctx. */
121void setup_tmpctx(void)
122{
123 /* Don't call me twice! */
124 assert(!tmpctx);
125 tmpctx = tal_arr_label(NULL, char, 0, "tmpctx");
126}
127
128/* Free any children of tmpctx. */
129void clean_tmpctx(void)

Callers 2

common_setupFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected