Author: Maciej Fijalkowski <fij...@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)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to