Closed wangweiwei1188 closed 2 years ago
I think it would be better if you could briefly explain about why this function is not needed.
I think it would be better if you could briefly explain about why this function is not needed.
1) xqc_str_hash_table_t *hash_table = xqc_malloc(sizeof(xqc_str_hash_table_t)); The hash_table 's not initialized to 0, so hash_tab->count's value is random. 2) xqc_str_hash_release(hash_table) when xqc_str_hash_init was failed is not necessary.And may execute additional instructions according to hash_tab->count's value.
Remove function call which's not needed.