PurifyAllLeaks

Example      Related Topics

Description

Reports all memory leaks currently detected.

Syntax

int PurifyAllLeaks(void)

Returns

n

Where n is the number of leaked and potentially leaked bytes.

0

Purify didn't detect any leaks, or Purify is not running.

Notes

§      When you call this function, Purify generates Memory Leak (MLK) and Potential Memory Leak (MPK) messages in the Error View.

§      Calling this function repeatedly in a program that contains a large number of allocated blocks can slow down the instrumented program at run time.

§      You can call PurifyAllLeaks interactively from the Purify View menu while your program is running.

(C) Copyright IBM Corporation 1992, 2010.