diff options
| author | Peter LaFosse <peter@vector35.com> | 2018-09-21 16:46:14 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2018-09-21 16:46:31 -0400 |
| commit | 328281d02cc9ed281b47915c4b02e36328ad2bb5 (patch) | |
| tree | 97503f227b2df017315df81c96adfefeb72b9306 | |
| parent | dd9a865f2ebcb4dfbe462154114f495e49a16fe4 (diff) | |
Fix ref count bug in Relocation class
| -rw-r--r-- | relocationhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/relocationhandler.cpp b/relocationhandler.cpp index b077a82d..baceca48 100644 --- a/relocationhandler.cpp +++ b/relocationhandler.cpp @@ -141,5 +141,5 @@ size_t CoreRelocationHandler::GetOperandForExternalRelocation(const uint8_t* dat Ref<LowLevelILFunction> il, Ref<Relocation> relocation) { return BNRelocationHandlerGetOperandForExternalRelocation(m_object, data, addr, length, il->GetObject(), - relocation->GetObject()); + BNNewRelocationReference(relocation->GetObject())); }
\ No newline at end of file |
