diff options
| author | Mason Reed <mason@vector35.com> | 2025-07-02 23:30:07 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-07-03 00:13:59 -0400 |
| commit | eb36a2b19746fdcb849cb14685bb56bd19134166 (patch) | |
| tree | 15e469f95c07274d2f8689eed9babc160fc7370e /binaryview.cpp | |
| parent | 246f1f72ad2418930ac8837f0788d09a2b24ee6b (diff) | |
Fix TagType objects being leaked when opening tags sidebar
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index 4f6c9354..bad12407 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -3373,7 +3373,7 @@ std::map<Ref<TagType>, size_t> BinaryView::GetAllTagReferenceTypeCounts() result[new TagType(BNNewTagTypeReference(types[i]))] = counts[i]; } - BNFreeTagReferenceTypeCounts(types, counts); + BNFreeTagReferenceTypeCounts(types, counts, count); return result; } |
