[pypy-svn] pypy fast-forward: Add a free() to please the leak finder

amauryfa commits-noreply at bitbucket.org
Mon Dec 27 01:38:36 CET 2010


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: fast-forward
Changeset: r40236:7e5468b3fc3f
Date: 2010-12-27 01:41 +0100
http://bitbucket.org/pypy/pypy/changeset/7e5468b3fc3f/

Log:	Add a free() to please the leak finder

diff --git a/pypy/module/_rawffi/test/test__rawffi.py b/pypy/module/_rawffi/test/test__rawffi.py
--- a/pypy/module/_rawffi/test/test__rawffi.py
+++ b/pypy/module/_rawffi/test/test__rawffi.py
@@ -316,6 +316,7 @@
         res = _rawffi.wcharp2unicode(a.buffer)
         assert isinstance(res, unicode)
         assert res == u'xx'
+        a.free()
 
     def test_raw_callable(self):
         import _rawffi


More information about the Pypy-commit mailing list