# DeleteMemPool

Deletes a memory pool.

### Synopsis

`void DeleteMemPool (MemPoolPtr memPool)`

### Description

Deletes the specified memory pool. `DeleteMemPool()` deletes the memory pool by calling `free()` to deallocate the block of memory reserved for the memory pool. Any data in the memory pool is flushed by the Portfolio kernel.

### Arguments

`memPool`
  Pointer to the memory pool that is deleted.

### Return Value

None

### Associated Files

MemPool.h

### See Also

`CreateMemPool`