Skip to content

Commit d969e4f

Browse files
committed
Address review
1 parent 23b35a5 commit d969e4f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Python/flowgraph.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3332,6 +3332,7 @@ remove_unused_consts(basicblock *entryblock, PyObject *consts)
33323332
/* adjust const indices in the bytecode */
33333333
reverse_index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
33343334
if (reverse_index_map == NULL) {
3335+
PyErr_NoMemory();
33353336
goto end;
33363337
}
33373338
for (Py_ssize_t i = 0; i < nconsts; i++) {

0 commit comments

Comments
 (0)