Mercurial > public > mercurial-scm > hg-stable
diff setup.py @ 18504:d1d5fdcc2d46 stable
parsers: fix memleak of revlog cache entries on strip
Since 12a852c7c763, raw_length can be reduced on strip, but corresponding cache
entries still have refcount. They are not dereferenced by _index_clearcache(),
and never freed.
To reproduce the problem, run "hg pull" and "hg strip null" several times
in the same process.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 28 Jan 2013 19:05:35 +0900 |
parents | 65a46635fb31 |
children | 3f59cb1ccc73 |