[pypy-commit] pypy gc-minimark-pinning: oops, forgot to unpin this

fijal noreply at buildbot.pypy.org
Tue Apr 17 12:16:29 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: gc-minimark-pinning
Changeset: r54458:f698795d565a
Date: 2012-04-17 10:51 +0200
http://bitbucket.org/pypy/pypy/changeset/f698795d565a/

Log:	oops, forgot to unpin this

diff --git a/pypy/rpython/lltypesystem/rffi.py b/pypy/rpython/lltypesystem/rffi.py
--- a/pypy/rpython/lltypesystem/rffi.py
+++ b/pypy/rpython/lltypesystem/rffi.py
@@ -785,6 +785,7 @@
         assert allocated_size >= needed_size
 
         if gc_buf:
+            rgc.unpin(gc_buf)
             if allocated_size != needed_size:
                 gc_buf = rgc.ll_shrink_array(gc_buf, needed_size)
             return hlstrtype(gc_buf)


More information about the pypy-commit mailing list