images\info_sml.gifWhat Colors (Error Detection)

Example       Related Topics

Purify reports any calls to PurifyWhatColors embedded in the program. This message reports the colors (green, yellow, and red) Purify detects for a region of memory. This message also displays the call stack.

Purify reports a What Colors message in the Error View and identifies the color of the memory as follows:

G (green)

Memory that has been allocated and initialized.

Y (yellow)

Memory that has been allocated, but not yet initialized. Memory returned by malloc is yellow.

R (red)

Memory that is unallocated and uninitialized. The memory has either never been allocated or it has been allocated and subsequently freed.

(C) Copyright IBM Corporation 1992, 2010.