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

Function hash_free

v2/engine/hash.c:301–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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