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 d5f017b commit 46af206Copy full SHA for 46af206
1 file changed
Objects/genobject.c
@@ -1130,6 +1130,9 @@ compute_cr_origin(int origin_depth)
1130
1131
/* Now collect them */
1132
PyObject *cr_origin = PyTuple_New(frame_count);
1133
+ if (cr_origin == NULL) {
1134
+ return NULL;
1135
+ }
1136
frame = PyEval_GetFrame();
1137
for (int i = 0; i < frame_count; ++i) {
1138
PyObject *frameinfo = Py_BuildValue(
0 commit comments