[pypy-commit] pypy vmprof-newstack: Fix massive leak :-)

arigo pypy.commits at gmail.com
Fri Jan 15 05:17:01 EST 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: vmprof-newstack
Changeset: r81786:e6e35c5fb24e
Date: 2016-01-15 11:16 +0100
http://bitbucket.org/pypy/pypy/changeset/e6e35c5fb24e/

Log:	Fix massive leak :-)

diff --git a/rpython/rlib/rvmprof/cintf.py b/rpython/rlib/rvmprof/cintf.py
--- a/rpython/rlib/rvmprof/cintf.py
+++ b/rpython/rlib/rvmprof/cintf.py
@@ -101,3 +101,4 @@
 
 def leave_code(s):
     vmprof_tl_stack.setraw(s.c_next)
+    lltype.free(s, flavor='raw')


More information about the pypy-commit mailing list