Skip to content

Commit 46d8678

Browse files
update blurb for the current scope
1 parent a50b3a4 commit 46d8678

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
fix refcount leak in weakref proxy unwrapping by introducing a safe
2-
_proxy_unwrap helper
1+
Fix refcount leak in weakref proxy binary/ternary operations and
2+
proxy_richcompare: when unwrapping the second or third argument fails
3+
(dead proxy), the first argument's refcount was already incremented by
4+
a prior UNWRAP but never released. Introduces UNWRAP_OR(o, cleanup),
5+
which executes cleanup before returning NULL, allowing callers to
6+
release any previously acquired references on failure.

0 commit comments

Comments
 (0)