diff options
| author | Rusty Wagner <rusty@vector35.com> | 2019-05-10 16:57:44 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2019-05-10 16:57:44 -0400 |
| commit | e5f190cddaaeac84f8a6ec733c2c11c17ec7f927 (patch) | |
| tree | 92393a4d82c32e0abe9843f29dae769133a933a5 /binaryninjaapi.h | |
| parent | 181cced4e6fe3a8b6e967cedc4ff84b53b3c8c92 (diff) | |
Fix some double free bugs in API
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index daf3db4f..064dd213 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -3981,7 +3981,6 @@ namespace BinaryNinja protected: DownloadInstance(DownloadProvider* provider); DownloadInstance(BNDownloadInstance* instance); - virtual ~DownloadInstance(); static void DestroyInstanceCallback(void* ctxt); static int PerformRequestCallback(void* ctxt, const char* url); @@ -4058,7 +4057,6 @@ namespace BinaryNinja protected: ScriptingInstance(ScriptingProvider* provider); ScriptingInstance(BNScriptingInstance* instance); - virtual ~ScriptingInstance(); static void DestroyInstanceCallback(void* ctxt); static BNScriptingProviderExecuteResult ExecuteScriptInputCallback(void* ctxt, const char* input); @@ -4275,7 +4273,6 @@ namespace BinaryNinja { public: Repository(BNRepository* repository); - ~Repository(); std::string GetUrl() const; std::string GetRepoPath() const; std::string GetLocalReference() const; @@ -4289,12 +4286,10 @@ namespace BinaryNinja class RepositoryManager: public CoreRefCountObject<BNRepositoryManager, BNNewRepositoryManagerReference, BNFreeRepositoryManager> { - bool m_core; public: RepositoryManager(const std::string& enabledPluginsPath); RepositoryManager(BNRepositoryManager* repoManager); RepositoryManager(); - ~RepositoryManager(); bool CheckForUpdates(); std::vector<Ref<Repository>> GetRepositories(); Ref<Repository> GetRepositoryByPath(const std::string& repoName); |
