[pypy-svn] pypy default: Fix a leak in a win32 test

amauryfa commits-noreply at bitbucket.org
Fri Jan 7 18:35:56 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r40469:b507a82fb846
Date: 2011-01-07 18:25 +0100
http://bitbucket.org/pypy/pypy/changeset/b507a82fb846/

Log:	Fix a leak in a win32 test

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
@@ -863,6 +863,7 @@
             assert "Procedure called with too many arguments" in e.message
         else:
             assert 0, "Did not raise"
+        arg.free()
 
     def test_struct_byvalue(self):
         import _rawffi, sys


More information about the Pypy-commit mailing list