Skip to content

Commit 6c8da8d

Browse files
Add a missing decref.
1 parent d3a8365 commit 6c8da8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/crossinterp_data_lookup.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,7 @@ _PyFunction_FromXIData(_PyXIData_t *xidata)
705705
if (PyDict_SetItemString(globals, "__builtins__",
706706
tstate->interp->builtins) < 0)
707707
{
708+
Py_DECREF(code);
708709
Py_DECREF(globals);
709710
return NULL;
710711
}

0 commit comments

Comments
 (0)