Author: Maciej Fijalkowski <fij...@gmail.com> Branch: lightweight-finalizers Changeset: r47735:e1e51f303ca9 Date: 2011-09-30 19:00 -0300 http://bitbucket.org/pypy/pypy/changeset/e1e51f303ca9/
Log: fix translation. I don't think this case can happen in practice though, no test. diff --git a/pypy/rpython/memory/gc/minimark.py b/pypy/rpython/memory/gc/minimark.py --- a/pypy/rpython/memory/gc/minimark.py +++ b/pypy/rpython/memory/gc/minimark.py @@ -1687,7 +1687,7 @@ arena -= extra_words * WORD allocsize += extra_words * WORD # - if self.has_raw_mem_ptr(obj): + if self.has_raw_mem_ptr(self.get_type_id(obj)): self._free_raw_mem_from(obj) llarena.arena_free(arena) self.rawmalloced_total_size -= allocsize _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit