Debugging Dynamic Memory Usage Errors Using HP WDB (5900-1474; WDB 6.2; January 2011)
Detailed Report
-------------------------------------------------------------------------
20 bytes leaked at 0x40061a00 (100.00% of all bytes leaked)
#0 0x04000d62 allocateMemory() at memLeak.c:11
#1 0x04000e62 createHeader() at memLeak.c:24
#2 0x04000f32 createString() at memLeak.c:37
#3 0x040012b2 compareStrings() at memLeak.c:74
After knowing the memory leak information in the application through batch mode,
select the leaks one by one and follow the procedure mentioned below.
2. Detect the location of memory leak.
Step by Step Approach for Detecting Leaks 93