diff options
author | Volker-Weissmann <39418860+Volker-Weissmann@users.noreply.github.com> | 2020-04-03 19:10:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 19:10:44 +0200 |
commit | a6986a9ee7c4e51d55df70d95b19c86501580b21 (patch) | |
tree | 0058a3619cb6401a356d84e19a59b62ea0dabc3a | |
parent | 3469f0c7fe69e47e80fc2c685b649b70cb2c1f8b (diff) | |
download | cython-a6986a9ee7c4e51d55df70d95b19c86501580b21.tar.gz |
Fixed gdb C call to free() that broke "cy exec". (GH-3487)
-rw-r--r-- | Cython/Debugger/libpython.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Debugger/libpython.py b/Cython/Debugger/libpython.py index 44273a1a1..de7c7ef58 100644 --- a/Cython/Debugger/libpython.py +++ b/Cython/Debugger/libpython.py @@ -2608,7 +2608,7 @@ class PythonCodeExecutor(object): return pointer def free(self, pointer): - gdb.parse_and_eval("free((void *) %d)" % pointer) + gdb.parse_and_eval("(void) free((void *) %d)" % pointer) def incref(self, pointer): "Increment the reference count of a Python object in the inferior." |