diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-09-06 11:38:59 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-06 11:46:44 -0400 |
| commit | 5a1f98b0e46d0077f777cb90e7d9d916c9186535 (patch) | |
| tree | f90bcc662dcf85fad1d2b5ef262568e5dc905d2e /python/mediumlevelil.py | |
| parent | a377529b29b43e35cce8763ec4077b329b218f43 (diff) | |
Fix some unnecessary checks for handle is not None in destructors
Diffstat (limited to 'python/mediumlevelil.py')
| -rw-r--r-- | python/mediumlevelil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index a9b3e39b..44e94937 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -2591,7 +2591,7 @@ class MediumLevelILFunction: self._source_function = _source_function def __del__(self): - if self.handle is not None: + if core is not None: core.BNFreeMediumLevelILFunction(self.handle) def __repr__(self): |
