void IntOperand::destroy(IntOperand*& pOperand) { g_IntOperandFactory->destroy(pOperand); g_IntOperandFactory->deallocate(pOperand); pOperand = NULL; }
void FragOperand::destroy(FragOperand*& pOperand) { g_FragOperandFactory->destroy(pOperand); g_FragOperandFactory->deallocate(pOperand); pOperand = NULL; }
void SymOperand::destroy(SymOperand*& pOperand) { g_SymOperandFactory->destroy(pOperand); g_SymOperandFactory->deallocate(pOperand); pOperand = NULL; }
void EhFrame::Destroy(EhFrame*& pSection) { pSection->~EhFrame(); g_EhFrameFactory->deallocate(pSection); pSection = NULL; }
void SectDescOperand::destroy(SectDescOperand*& pOperand) { g_SectDescOperandFactory->destroy(pOperand); g_SectDescOperandFactory->deallocate(pOperand); pOperand = NULL; }
void StringList::destroy(StringList*& pStringList) { g_StringListFactory->destroy(pStringList); g_StringListFactory->deallocate(pStringList); pStringList = NULL; }
void RelocData::Destroy(RelocData*& pSection) { pSection->~RelocData(); g_RelocDataFactory->deallocate(pSection); pSection = NULL; }
void NameSpec::destroy(NameSpec*& pNameSpec) { g_NameSpecFactory->destroy(pNameSpec); g_NameSpecFactory->deallocate(pNameSpec); pNameSpec = NULL; }
void ELFSegment::Destroy(ELFSegment*& pSegment) { g_ELFSegmentFactory->destroy(pSegment); g_ELFSegmentFactory->deallocate(pSegment); pSegment = NULL; }
void RpnExpr::destroy(RpnExpr*& pRpnExpr) { g_ExprFactory->destroy(pRpnExpr); g_ExprFactory->deallocate(pRpnExpr); pRpnExpr = NULL; }
void SectionData::Destroy(SectionData*& pSection) { pSection->~SectionData(); g_SectDataFactory->deallocate(pSection); pSection = NULL; }
void LDSymbol::Destroy(LDSymbol*& pSymbol) { pSymbol->~LDSymbol(); g_LDSymbolFactory->deallocate(pSymbol); pSymbol = NULL; }
void StrToken::destroy(StrToken*& pStrToken) { g_StrTokenFactory->destroy(pStrToken); g_StrTokenFactory->deallocate(pStrToken); pStrToken = NULL; }
void LDSection::Destroy(LDSection*& pSection) { g_SectFactory->destroy(pSection); g_SectFactory->deallocate(pSection); pSection = NULL; }