_aligned_free
div
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

_aligned_free

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

Show:
© 2016 Microsoft