MCPcopy Create free account
hub / github.com/amule-project/amule / FreeHashSet

Method FreeHashSet

src/SHAHashSet.cpp:850–860  ·  view source on GitHub ↗

delete the hashset except the masterhash (we dont keep aich hashsets in memory to save resources)

Source from the content-addressed store, hash-verified

848
849// delete the hashset except the masterhash (we dont keep aich hashsets in memory to save resources)
850void CAICHHashSet::FreeHashSet()
851{
852 if (m_pHashTree.m_pLeftTree) {
853 delete m_pHashTree.m_pLeftTree;
854 m_pHashTree.m_pLeftTree = NULL;
855 }
856 if (m_pHashTree.m_pRightTree) {
857 delete m_pHashTree.m_pRightTree;
858 m_pHashTree.m_pRightTree = NULL;
859 }
860}
861
862void CAICHHashSet::SetMasterHash(const CAICHHash& Hash, EAICHStatus eNewStatus)
863{

Callers 3

DbgTestMethod · 0.80
AddED2KLinkMethod · 0.80
EntryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected