Skip to content

Commit

Permalink
Fix crash and release 1.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jan 11, 2024
1 parent 5d78702 commit 8fa6458
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion python/r2pipe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@
import time
from r2pipe.open_sync import open as r2pipe_open

open = r2pipe_open

try:
import r2lang
except ImportError:
r2lang = None

VERSION = "1.8.7"
VERSION = "1.8.8"


def version():
Expand Down
2 changes: 1 addition & 1 deletion python/r2pipe/native.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def __init__(self):
def __del__(self):
self.free()
def free(self):
self._r_core_free[1](self._o)
self._r_core_free[0](self._o)
def cmd_str(self, cmd):
return self._r_core_cmd_str[1](self._o, cmd)

Expand Down

0 comments on commit 8fa6458

Please sign in to comment.