aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/platforms/linux.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2023-03-09 17:29:28 +0100
committerChristian Tismer <tismer@stackless.com>2023-03-10 08:47:43 +0100
commit5599354825bf767a87dfc22cbd260e419d92ef0d (patch)
treefae81dd92f0b608ce969b38f918096ce04835499 /build_scripts/platforms/linux.py
parentd8707d200aa5787e834e017244290ef6554c85ce (diff)
signature: Fix a refcount bug in SetError_Argument
When a real error occurs in `SetError_Argument`, there is an open PyErr_Fetch call that will not be closed because we redirect the whole exception to the `seterror_argument` function in errorhandler.py . This is a similar case as the refcounting leak in `mangled_type_getattro` PYSIDE-2169 . I did not know that PyErr_Fetch/PyErr_Restore use refcounting. Change-Id: I042c1d858c57834d707139f7290bc15b9dd5cc0e Task-number: PYSIDE-1564 Pick-to: 6.4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/platforms/linux.py')
0 files changed, 0 insertions, 0 deletions