MCPcopy Create free account
hub / github.com/boostorg/build / hash_free

Function hash_free

src/engine/hash.cpp:302–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300 */
301
302void hash_free( struct hash * hp )
303{
304 int32_t i;
305 if ( !hp )
306 return;
307 if ( hp->tab.base )
308 BJAM_FREE( (char *)hp->tab.base );
309 for ( i = 0; i <= hp->items.list; ++i )
310 BJAM_FREE( hp->items.lists[ i ].base );
311 BJAM_FREE( (char *)hp );
312}
313
314
315static void hashstat( struct hash * hp )

Callers 4

var_doneFunction · 0.85
delete_moduleFunction · 0.85
modules_doneFunction · 0.85
hashdoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected