_aligned_free
Visual Studio .NET 2003
Frees a block of memory that was allocated with _aligned_malloc or _aligned_offset_malloc.
void _aligned_free ( void *memblock );
Parameter
- memblock
- A pointer to the memory block that was returned to the _aligned_malloc or _aligned_offset_malloc functions.
Requirements
| Routine | Required header | Compatibility |
|---|---|---|
| _aligned_free | <malloc.h> | Win 98, Win Me, Win NT, Win 2000, Win XP |
For additional compatibility information, see Compatibility in the Introduction.
Libraries
All versions of the C run-time libraries.
Example
See _aligned_malloc for a sample that uses _aligned_free.
See Also
Data Alignment | Run-Time Routines and .NET Framework Equivalents