summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index d0274f95..cabd7783 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -659,6 +659,7 @@ vector<ReferenceSource> BinaryView::GetCodeReferences(uint64_t addr)
src.func = new Function(BNNewFunctionReference(refs[i].func));
src.arch = new CoreArchitecture(refs[i].arch);
src.addr = refs[i].addr;
+ result.push_back(src);
}
BNFreeCodeReferences(refs, count);