Skip to content

Commit

Permalink
Simplify free call
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jan 11, 2024
1 parent c5281ae commit f121e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/r2pipe/native.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def __init__(self):
)
self._r_core_free = register("r_core_free", "c_void_p", "c_void_p")
def __del__(self):
self._r_core_free[1](self._o)
self.free()
def free(self):
self._r_core_free[1](self._o)
def cmd_str(self, cmd):
Expand Down

0 comments on commit f121e46

Please sign in to comment.