# DeleteMemDebug

Releases memory debugging resources.

### Synopsis

`Err DeleteMemDebug(void);`

### Description

Deletes any resources allocated by `CreateMemDebug()`. This function only actually does anything if MEMDEBUG is defined, otherwise it is a NOP.

This function also frees any memory allocated that has not been freed yet.

### Return Value

Returns > = 0 if successful, or a negative error code if not.

### Implementation

Library call implemented in memdebug.lib V24.

### Associated Files

mem.h, memdebug.lib

### See Also

``CreateMemDebug`(), DumpMemDebug(), SanityCheckMemDebug()`

#