Developer Reference for Intel® Integrated Performance Primitives 2019

Free

Frees memory allocated by the function ippiMalloc.

Syntax

void ippiFree(void* ptr);

Include Files

ippi.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

ptr

Pointer to a memory block to be freed. This block must have been previously allocated by the function ippiMalloc.

Description

This function frees the aligned memory block allocated by the function ippiMalloc.

Note

The function ippiFree cannot be used to free memory allocated by standard functions like malloc or calloc, nor can the memory allocated by ippiMalloc be freed by free.