diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-14 02:16:02 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-14 02:18:52 +0300 |
commit | 7a0cf2c72f58be31824f5c3b17844ba54797b594 (patch) | |
tree | 9ee2c8380f7d78994d57ffd2f06be5e053d3c179 /source/blender/python/intern | |
parent | 1bd0a87384011b739d1f4f06e0933d7d094732ac (diff) |
Fix crash caused by exception in Python gizmo target get handler
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/bpy_rna_gizmo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_rna_gizmo.c b/source/blender/python/intern/bpy_rna_gizmo.c index e4fb5b33e97..e769fe7f4c2 100644 --- a/source/blender/python/intern/bpy_rna_gizmo.c +++ b/source/blender/python/intern/bpy_rna_gizmo.c @@ -201,7 +201,7 @@ fail: PyErr_Print(); PyErr_Clear(); - Py_DECREF(ret); + Py_XDECREF(ret); PyGILState_Release(gilstate); } |