diff options
| author | Mason Reed <mason@vector35.com> | 2024-06-18 14:33:43 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-06-18 14:35:10 -0400 |
| commit | 7b705d4047cb358fb7e6cc5234b969379c6a3f38 (patch) | |
| tree | 345b4cb155db94cd763f308fd9d0761b20528fae /binaryview.cpp | |
| parent | 89afd16f243065bdff26ada8d5aa090c781131d9 (diff) | |
Fix memory leak in BinaryView::GetUniqueSectionNames
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index 929d0fe9..68e6206b 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -4868,6 +4868,7 @@ vector<string> BinaryView::GetUniqueSectionNames(const vector<string>& names) for (size_t i = 0; i < names.size(); i++) result.push_back(outgoingNames[i]); + delete[] incomingNames; BNFreeStringList(outgoingNames, names.size()); return result; } |
