# MKL_free

Frees the aligned memory buffer allocated by MKL_malloc.

## Syntax

Fortran:

CALL MKL_FREE ( ptr )

C:

void* MKL_free ( void* ptr );

## Intput Parameters

Name | Type | Description
--- | --- | ---
ptr | FORTRAN: POINTER C: void* | Pointer to the buffer to be freed

## Description

The function frees the buffer pointed by ptrand allocated by MKL_malloc().

See Example “MKL_malloc(), MKL_free(), MKL_MemStat() Usage”.

Parent topic: Memory Functions