MCPcopy Index your code
hub / github.com/git/git / reftable_table_decref

Function reftable_table_decref

reftable/table.c:603–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601}
602
603void reftable_table_decref(struct reftable_table *t)
604{
605 if (!t)
606 return;
607 if (--t->refcount)
608 return;
609 block_source_close(&t->source);
610 REFTABLE_FREE_AND_NULL(t->name);
611 reftable_free(t);
612}
613
614static int reftable_table_refs_for_indexed(struct reftable_table *t,
615 struct reftable_iterator *it,

Calls 2

block_source_closeFunction · 0.85
reftable_freeFunction · 0.85