diff options
| author | Mark Rowe <mark@vector35.com> | 2026-05-11 18:49:26 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2026-05-19 10:36:46 -0700 |
| commit | fd40266f767e51e649fb48376e25f47a60d79765 (patch) | |
| tree | db351a36617200d4ad659bb3c1aa921b8d08f204 /activity.cpp | |
| parent | 297a98bff289ecde90d808f6538c2c5edf804af6 (diff) | |
Fix incorrect reference counting in C++ API
Diffstat (limited to 'activity.cpp')
| -rw-r--r-- | activity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activity.cpp b/activity.cpp index 0bb5858f..2b5ef140 100644 --- a/activity.cpp +++ b/activity.cpp @@ -19,7 +19,7 @@ Activity::Activity(const string& configuration, const std::function<void(Ref<Ana Activity::Activity(BNActivity* activity) { // LogError("API-Side Activity Constructed!"); - m_object = BNNewActivityReference(activity); + m_object = activity; } |
