Function located in DetailView.cpp was originally designed to return the pointer to the pString variable. pString was originally created with a new statement and never deleted.
Modified the function in the attached file by:
function now returns a string instead of a pointer
removed the new declaration so pString is automatically destroyed/deleted when out of context.
DetailView.cpp
On review of this change, it looks like making a change like this would require a change to all who are using this fuction as well. Need to review further before applying this change.
detailview.h
Attaching files that contain definitions and functions related to this bug.
File Added: DetailView.h
HexView.cpp
File Added: HexView.cpp
HexView.h
File Added: HexView.h
File Added: ScrollLineView.cpp
ScrollLineView.cpp
File Added: ScrollLineView.h
ScrollLineView.h
File Added: SummaryView.cpp
SummayView.cpp
The attached files contain all the definitions and references I had found relating to the problem description. My apologies for not listing all at the beginning.
File Added: SummaryView.h
SummaryView.h