summaryrefslogtreecommitdiff
path: root/plugin.cpp
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-07-30 13:00:12 -0700
committerMark Rowe <mark@vector35.com>2025-08-05 11:53:14 -0700
commit073e04dcbbb90fdff8bebfbbd3a68bdd9d285954 (patch)
tree45bb8f14eff65e6719e133ee771d9d69a2eb1a33 /plugin.cpp
parent8becb1ba6fcf327f38d8d5925605bf8217f40a32 (diff)
Avoid leaking Relocation instances
`BNRelocationHandlerDefaultApplyRelocation` / `BNRelocationHandlerApplyRelocation` / `BNRelocationHandlerGetOperandForExternalRelocation` do not take ownership of the reference that is passed to them. Instead they take their own reference to the object. As a result, `Relocation` objects passed into `RelocationHandler::ApplyRelocation` / `CoreRelocationHandler::ApplyRelocation` / `CoreRelocationHandler::GetOperandForExternalRelocation` were being leaked.
Diffstat (limited to 'plugin.cpp')
0 files changed, 0 insertions, 0 deletions