From eb36a2b19746fdcb849cb14685bb56bd19134166 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 2 Jul 2025 23:30:07 -0400 Subject: Fix TagType objects being leaked when opening tags sidebar --- binaryview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binaryview.cpp') diff --git a/binaryview.cpp b/binaryview.cpp index 4f6c9354..bad12407 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -3373,7 +3373,7 @@ std::map, size_t> BinaryView::GetAllTagReferenceTypeCounts() result[new TagType(BNNewTagTypeReference(types[i]))] = counts[i]; } - BNFreeTagReferenceTypeCounts(types, counts); + BNFreeTagReferenceTypeCounts(types, counts, count); return result; } -- cgit v1.3.1