Sun Studio 12 Update 1: Debugging a Program With dbx

Fixing Memory Leaks

Once you have obtained a memory leak report, follow these guidelines for fixing the memory leaks.

For more information, see showleaks Command.