diff options
| author | Glenn Smith <glenn@vector35.com> | 2021-12-08 21:43:12 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2022-01-13 15:56:38 -0500 |
| commit | 486a019282443ae5429b3c42ae132fe11f4f017f (patch) | |
| tree | c04bfd26989e1918f0bb92c9175be758c6966890 /python/pluginmanager.py | |
| parent | 0444f19299b05c0e9feada89c9ef487e59b6cfcc (diff) | |
Fix a bunch of core function calls with bad args
Diffstat (limited to 'python/pluginmanager.py')
| -rw-r--r-- | python/pluginmanager.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/pluginmanager.py b/python/pluginmanager.py index ef9a9d1c..1b5e1b72 100644 --- a/python/pluginmanager.py +++ b/python/pluginmanager.py @@ -113,7 +113,7 @@ class RepoPlugin: assert platforms is not None, "core.BNPluginGetApis returned None" for i in range(count.value): result.append(platforms[i].decode("utf-8")) - core.BNFreePluginPlatforms(platforms, count) + core.BNFreePluginPlatforms(platforms, count.value) return result @property @@ -203,7 +203,7 @@ class RepoPlugin: assert platforms is not None, "core.BNPluginGetPlatforms returned None" for i in range(count.value): result.append(platforms[i].decode("utf-8")) - core.BNFreePluginPlatforms(platforms, count) + core.BNFreePluginPlatforms(platforms, count.value) return result @property @@ -300,7 +300,7 @@ class Repository: assert result is not None, "core.BNRepositoryGetPlugins returned None" for i in range(count.value): pluginlist.append(RepoPlugin(core.BNNewPluginReference(result[i]))) - core.BNFreeRepositoryPluginList(result, count.value) + core.BNFreeRepositoryPluginList(result) del result return pluginlist |
