Mercurial > hg
diff mercurial/cffi/osutilbuild.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 | 2dcb3d52ef41 |
children | 2372284d9457 |