summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/types.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/types.py b/python/types.py
index 3b580a32..de3e707f 100644
--- a/python/types.py
+++ b/python/types.py
@@ -2768,7 +2768,6 @@ class EnumerationType(IntegerType):
assert handle is not None, "Attempted to create EnumerationType without handle"
super(EnumerationType, self).__init__(handle, platform, confidence)
enum_handle = core.BNGetTypeEnumeration(handle)
- core.BNNewEnumerationReference(enum_handle)
assert enum_handle is not None, "core.BNGetTypeEnumeration returned None"
self.enum_handle = enum_handle