diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2023-01-31 21:45:23 -0500 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2023-02-08 11:53:38 -0500 |
| commit | c2247a35e97c96eba9cd4caf09b32b038625cc31 (patch) | |
| tree | d88022f286bd811667f88cc3926dada7b4ec5d31 /binaryview.cpp | |
| parent | 0b752f36c9d3b6bcb51a05fdcf5b38633d38bdbd (diff) | |
Clean up possible early deletion issues in API callbacks
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 84267ba3..c818bed6 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1027,7 +1027,7 @@ bool BinaryView::InitCallback(void* ctxt) void BinaryView::FreeCallback(void* ctxt) { - CallbackRef<BinaryView> view(ctxt); + BinaryView* view = (BinaryView*)ctxt; view->ReleaseForRegistration(); } |
