Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitca12a74

Browse files
authored
gh-132781: fix refleaks incrossinterp_exceptions.h postgh-132782 (#132989)
1 parent8a4d4f3 commitca12a74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎Python/crossinterp_exceptions.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ set_notshareableerror(PyThreadState *tstate, PyObject *cause, int force, const c
110110
}
111111
else {
112112
_ensure_notshareableerror(tstate,cause,force,msgobj);
113+
Py_DECREF(msgobj);
113114
}
114115
}
115116

@@ -123,6 +124,7 @@ format_notshareableerror_v(PyThreadState *tstate, PyObject *cause, int force,
123124
}
124125
else {
125126
_ensure_notshareableerror(tstate,cause,force,msgobj);
127+
Py_DECREF(msgobj);
126128
}
127129
}
128130

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp