We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d66027e + a1c1898 commit 2ad6dd6Copy full SHA for 2ad6dd6
Ghidra/Features/Decompiler/src/decompile/cpp/varmap.cc
@@ -835,6 +835,8 @@ void MapState::reconcileDatatypes(void)
835
startDatatype = curDatatype;
836
if (curHint->compare(*newList.back()) != 0)
837
newList.push_back(curHint); // Keep the current hint if it is otherwise different
838
+ else
839
+ delete curHint; // RangeHint is on the heap, so delete if we are not keeping it
840
}
841
else {
842
while(startPos < newList.size()) {
0 commit comments