标准C,C++:
malloc----free
new----delete
WINDOWS API:
gnew(.net)
LocalAlloc----LocalFree
GlobalAlloc----GlobalFree
HeapAlloc----HeapFree