gh-148651: Fix refcount leak in _zstd decompressor options (#148657)
The option parsing in Modules/_zstd/decompressor.c had a missing Py_DECREF(value) before the early return -1 when PyLong_AsInt(key) fails. The identical code in Modules/_zstd/compressor.c line 158 has the fix.
M
Michael Bommarito committed
446edda20919447fdc8b5a43f2f2ae686df82e6a
Parent: a86234e
Committed by GitHub <noreply@github.com>
on 4/17/2026, 3:42:41 PM