diff options
| author | Josh F <josh@vector35.com> | 2022-08-18 14:33:15 -0400 |
|---|---|---|
| committer | Josh F <josh@vector35.com> | 2022-08-18 14:33:15 -0400 |
| commit | 6b55b281854a64e963ae33b4d5dc92b500bfb1a8 (patch) | |
| tree | c443ffebe41157e3ea2c2efc688a4f50c81decd4 /python | |
| parent | f2dc9536d3638b5c61c9828a7fbe88af56f26962 (diff) | |
Fix trying to delete incomplete LowLevelILFunction
Diffstat (limited to 'python')
| -rw-r--r-- | python/lowlevelil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py index 74b9e104..dbdd09e9 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -2676,7 +2676,7 @@ class LowLevelILFunction: assert self._arch is not None def __del__(self): - if core is not None: + if core is not None and hasattr(self, 'handle'): core.BNFreeLowLevelILFunction(self.handle) def __repr__(self): |
