summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp2
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;
}