We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3738fad commit 317c816Copy full SHA for 317c816
1 file changed
Objects/genobject.c
@@ -1128,6 +1128,9 @@ compute_cr_origin(int origin_depth)
1128
1129
/* Now collect them */
1130
PyObject *cr_origin = PyTuple_New(frame_count);
1131
+ if (cr_origin == NULL) {
1132
+ return NULL;
1133
+ }
1134
frame = PyEval_GetFrame();
1135
for (int i = 0; i < frame_count; ++i) {
1136
PyObject *frameinfo = Py_BuildValue(
0 commit comments