Mercurial > hg-stable
comparison CONTRIBUTORS @ 38787:094d1f42c484 stable
manifest: fix leak on error return from lazymanifest_filtercopy()
Spotted by ASAN.
free(copy->lines) and Py_DECREF(copy->pydata) are replaced by Py_XDECREF(copy),
which should call lazymanifest_dealloc(). Freeing half-initialized copy->lines
is safe since copy->numlines holds a valid value.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 05 Sep 2018 21:49:44 +0900 |
parents | c29efd272395 |
children |
comparison
equal
deleted
inserted
replaced
38786:ca77788c81bc | 38787:094d1f42c484 |
---|