summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 53678cce..570df465 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -2290,7 +2290,7 @@ class HighLevelILFunction:
self.handle = _handle
def __del__(self):
- if self.handle is not None:
+ if core is not None:
core.BNFreeHighLevelILFunction(self.handle)
def __repr__(self):