SIGN IN SIGN UP

[3.13] gh-126991: Fix reference leak in loading pickle's opcode BUILD (GH-126990) (GH-127018)

If PyObject_SetItem() fails in the `load_build()` function of _pickle.c, no DECREF for the `dict` variable.
(cherry picked from commit 29cbcbd73bbfd8c953c0b213fb33682c289934ff)

Co-authored-by: Justin Applegate <70449145+Legoclones@users.noreply.github.com>
M
Miss Islington (bot) committed
bb98a0afd8598ce80f0e6d3f768b128eab68f40a
Parent: 3fae84f
Committed by GitHub <noreply@github.com> on 11/19/2024, 6:19:39 PM