summaryrefslogtreecommitdiff
path: root/python/architecture.py
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2024-08-01 17:03:39 -0400
committerMason Reed <mason@vector35.com>2024-12-14 13:37:40 -0500
commitb34ddd03f71c8637a80a264a3ea757b8295d482b (patch)
treeb1cbe1ce59e16a98d6dfa21975ce1661d80e9f38 /python/architecture.py
parent121c16592476754800b00a3b51595f4799944d04 (diff)
Pass length to free flag conditions list callback and remove libc from rust api
Allows language bindings like rust to free conditions lists sanely
Diffstat (limited to 'python/architecture.py')
-rw-r--r--python/architecture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/architecture.py b/python/architecture.py
index abcfb015..01ea3166 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -914,7 +914,7 @@ class Architecture(metaclass=_ArchitectureMetaClass):
count[0] = 0
return None
- def _free_flag_conditions_for_semantic_flag_group(self, ctxt, conditions):
+ def _free_flag_conditions_for_semantic_flag_group(self, ctxt, conditions, count):
try:
buf = ctypes.cast(conditions, ctypes.c_void_p)
if buf.value not in self._pending_condition_lists: