From ffa36b9001321c1cc1fe42e8505dfe169bbdcbbd Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 1 Nov 2016 08:57:33 +0800 Subject: [PATCH] python: remove redundant free() prototype. bug reported by Mahin --- bindings/python/unicorn/unicorn.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bindings/python/unicorn/unicorn.py b/bindings/python/unicorn/unicorn.py index 1d3f584f..8d108a31 100644 --- a/bindings/python/unicorn/unicorn.py +++ b/bindings/python/unicorn/unicorn.py @@ -105,7 +105,6 @@ _setup_prototype(_uc, "uc_context_alloc", ucerr, uc_engine, ctypes.POINTER(uc_co _setup_prototype(_uc, "uc_context_free", ucerr, uc_context) _setup_prototype(_uc, "uc_context_save", ucerr, uc_engine, uc_context) _setup_prototype(_uc, "uc_context_restore", ucerr, uc_engine, uc_context) -_setup_prototype(_uc, "free", None, ctypes.c_voidp) # uc_hook_add is special due to variable number of arguments _uc.uc_hook_add = _uc.uc_hook_add