mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
7639fb3427
Summary: It turns out PyArg_ParseTuple doesn't create new refs, so if we put any arguments in PythonObj wrappers, they will be incorrectly decremented during destruction. Let's increment the ref before putting any args in PythonObj. Test Plan: N/A, I just eyeballed this. I did look at all other uses of PyArg_ParseTuple to verify no other cases had this issue. Reviewers: #fastmanifest Differential Revision: https://phabricator.intern.facebook.com/D3766116 |
||
---|---|---|
.. | ||
convert.h | ||
manifest_entry.cpp | ||
manifest_entry.h | ||
manifest_fetcher.cpp | ||
manifest_fetcher.h | ||
manifest.cpp | ||
manifest.h | ||
py-treemanifest.cpp | ||
pythonutil.cpp | ||
pythonutil.h | ||
treemanifest.cpp | ||
treemanifest.h |