[pypy-commit] pypy default: Fix the variable name: no longer necessarily a string
arigo
noreply at buildbot.pypy.org
Thu Jun 26 10:58:11 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r72238:2e180d0ed7a4
Date: 2014-06-26 10:57 +0200
http://bitbucket.org/pypy/pypy/changeset/2e180d0ed7a4/
Log: Fix the variable name: no longer necessarily a string
diff --git a/pypy/module/_cffi_backend/ctypefunc.py b/pypy/module/_cffi_backend/ctypefunc.py
--- a/pypy/module/_cffi_backend/ctypefunc.py
+++ b/pypy/module/_cffi_backend/ctypefunc.py
@@ -156,8 +156,8 @@
data = rffi.ptradd(buffer, cif_descr.exchange_args[i])
flag = get_mustfree_flag(data)
if flag == 1:
- raw_string = rffi.cast(rffi.CCHARPP, data)[0]
- lltype.free(raw_string, flavor='raw')
+ raw_cdata = rffi.cast(rffi.CCHARPP, data)[0]
+ lltype.free(raw_cdata, flavor='raw')
lltype.free(buffer, flavor='raw')
return w_res
More information about the pypy-commit
mailing list