From c2247a35e97c96eba9cd4caf09b32b038625cc31 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 31 Jan 2023 21:45:23 -0500 Subject: Clean up possible early deletion issues in API callbacks --- binaryninjaapi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index c08e2c1a..a5ad242d 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -218,6 +218,8 @@ namespace BinaryNinja { void Release() { ReleaseInternal(); } void AddRefForRegistration() { AddRefInternal(); } + void AddRefForCallback() {} + void ReleaseForCallback() {} }; /*! -- cgit v1.3.1