Mercurial > hg
comparison mercurial/pvec.py @ 27964:ac5057d5fc37 stable
verify: recover lost freeing of memory
In df8973e1fb45 (verify: move file cross checking to its own function,
2016-01-05), "mflinkrevs = None" was moved into function, so the
reference was cleared there, but the calling function now held on to
the variable. The point of clearing it was presumably to free up
memory, so let's move the clearing to the calling function where it
makes a difference. Also change "mflinkrevs = None" to "del
mflinkrevs", since the comment about scope now surely is obsolete.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sun, 31 Jan 2016 00:31:55 -0800 |
parents | 983e93d88193 |
children | 4462a981e8df |
comparison
equal
deleted
inserted
replaced
27963:07a5de79ec30 | 27964:ac5057d5fc37 |
---|