Mercurial > hg
diff mercurial/dagparser.py @ 39421:ad76032d27da stable
xdiff: fix leak in hunk_consumer()
Spotted by ASAN.
Since PyList_Append() does not "steal" a reference, Py_DECREF() is always
required. Perhaps, this is the largest leak in this series.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 05 Sep 2018 22:10:41 +0900 |
parents | f0b6fbea00cf |
children | e7aa113b14f7 |