Empty if Statement at packet-ncp2222.inc:1760 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
ncp_postseq_cleanup (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ncp2222.inc)![]() | ||||||
![]() | ||||||
1750 | NCP_PACKET_INIT_COUNT * sizeof(ncp_req_eid_hash_value), | |||||
1751 | G_ALLOC_ONLY); | |||||
1752 | } | |||||
1753 | ||||||
1754 | /* After the sequential run, we don't need the ncp_request hash and keys | |||||
1755 | * anymore; the lookups have already been done and the vital info | |||||
1756 | * saved in the reply-packets' private_data in the frame_data struct. */ | |||||
1757 | static void | |||||
1758 | ncp_postseq_cleanup(void) | |||||
1759 | { | |||||
1760 | if (ncp_req_hash) {
| |||||
1761 | /* Destroy the hash, but don't clean up request_condition data. */ | |||||
1762 | /*g_hash_table_destroy(ncp_req_hash); | |||||
1763 | ncp_req_hash = NULL;*/ | |||||
1764 | } | |||||
1765 | if (ncp_req_hash_keys) { | |||||
1766 | /*g_mem_chunk_destroy(ncp_req_hash_keys); | |||||
1767 | ncp_req_hash_keys = NULL;*/ | |||||
1768 | } | |||||
1769 | /* Don't free the ncp_req_hash_values or EID_hash_table, as they're | |||||
1770 | * needed during random-access processing of the proto_tree.*/ | |||||
![]() |