summaryrefslogtreecommitdiff
path: root/interaction.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2018-08-17 22:11:20 -0400
committerRusty Wagner <rusty@vector35.com>2018-08-17 22:11:20 -0400
commit8e320c4be695cd47ae93673320d525ce513cec90 (patch)
treec04f8c9c3a05016fd5bce94496c1a9fe72fd137e /interaction.cpp
parent1df50c8093bf3b949055d2670836fa1bb742fc1b (diff)
Fix report collection reference count bug and add debug report support
Diffstat (limited to 'interaction.cpp')
-rw-r--r--interaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/interaction.cpp b/interaction.cpp
index b2e62482..5650f629 100644
--- a/interaction.cpp
+++ b/interaction.cpp
@@ -215,7 +215,7 @@ static void ShowGraphReportCallback(void* ctxt, BNBinaryView* view, const char*
static void ShowReportCollectionCallback(void* ctxt, const char* title, BNReportCollection* reports)
{
InteractionHandler* handler = (InteractionHandler*)ctxt;
- handler->ShowReportCollection(title, new ReportCollection(reports));
+ handler->ShowReportCollection(title, new ReportCollection(BNNewReportCollectionReference(reports)));
}