diff options
| author | Xusheng <xusheng@vector35.com> | 2023-09-11 17:04:20 +0800 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2023-09-11 13:24:31 -0400 |
| commit | f9a9abdff9cc539f5a92c56f8942946a8ac718be (patch) | |
| tree | 05fce5a4a252c2768d448e5b8b61cb101ad7d125 /binaryninjaapi.h | |
| parent | b4da85f227630f8a1d7f4328f45e0f7d3d5a7e29 (diff) | |
Fix memory leak in functions calling BNCreateUserFunction
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 404651c7..d7ab80f5 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -4120,7 +4120,7 @@ namespace BinaryNinja { \param platform Platform for the function to be loaded \param addr Virtual adddress of the function to be loaded */ - void CreateUserFunction(Platform* platform, uint64_t start); + Ref<Function> CreateUserFunction(Platform* platform, uint64_t start); /*! removes a user function from the list of functions |
