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