LPVOID memoryBlock = LPVOID(LPMALLOC(sizeof(int) * 100));
LPMALLOC->Free(memoryBlock);Here, we are using the LPMALLOC's Free function to free the memory previously allocated using LPMALLOC. The LPMALLOC package library is part of the Windows API, specifically the Win32 API.