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

Function memleak_mark_globals

plugins/commando.c:914–922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

912
913#if DEVELOPER
914static void memleak_mark_globals(struct plugin *p, struct htable *memtable)
915{
916 memleak_scan_obj(memtable, outgoing_commands);
917 memleak_scan_obj(memtable, incoming_commands);
918 memleak_scan_obj(memtable, master_rune);
919 memleak_scan_htable(memtable, &usage_table.raw);
920 if (rune_counter)
921 memleak_scan_obj(memtable, rune_counter);
922}
923#endif
924
925static const char *init(struct plugin *p,

Callers

nothing calls this directly

Calls 2

memleak_scan_objFunction · 0.50
memleak_scan_htableFunction · 0.50

Tested by

no test coverage detected