diff options
author | Victor Stinner <vstinner@python.org> | 2022-06-27 21:46:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 21:46:22 (GMT) |
commit | edb10cab39748cb5cd5ba12080e410f0e0baff66 (patch) | |
tree | a409105a598fcd992c8303c26b3b18533c7e6976 /Doc | |
parent | acc6468f7ee0d1f22633f0b84df28f69e75f1260 (diff) | |
download | cpython-edb10cab39748cb5cd5ba12080e410f0e0baff66.zip cpython-edb10cab39748cb5cd5ba12080e410f0e0baff66.tar.gz cpython-edb10cab39748cb5cd5ba12080e410f0e0baff66.tar.bz2 |
gh-87347: Fix test_pymem_new() reference leak (#94330)
Delete the allocated object with Py_DECREF() rather than
PyObject_Free().
Rename also test_pymem_new() to test_pyobject_new().
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions