diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2023-01-26 16:37:39 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2023-01-30 11:57:43 -0500 |
| commit | 6ed8f189b2a0607a13c2a2163d82993ca60d2a19 (patch) | |
| tree | bec8293f894c664f29edeaa64eddee609aada8b5 /python/highlevelil.py | |
| parent | a3939bdec15f9299ae9a681255fa93c47113870a (diff) | |
Fix Type object leaks
Diffstat (limited to 'python/highlevelil.py')
| -rw-r--r-- | python/highlevelil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py index 43a5c68e..8c84a646 100644 --- a/python/highlevelil.py +++ b/python/highlevelil.py @@ -643,7 +643,7 @@ class HighLevelILInstruction(BaseILInstruction): if self.function.source_function: platform = self.function.source_function.platform return types.Type.create( - core.BNNewTypeReference(result.type), platform=platform, confidence=result.confidence + result.type, platform=platform, confidence=result.confidence ) return None @@ -2639,7 +2639,7 @@ class HighLevelILFunction: if self.source_function: platform = self.source_function.platform return types.Type.create( - core.BNNewTypeReference(result.type), platform=platform, confidence=result.confidence + result.type, platform=platform, confidence=result.confidence ) return None |
