| 300 | */ |
| 301 | |
| 302 | void 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 | |
| 315 | static void hashstat( struct hash * hp ) |
no outgoing calls
no test coverage detected