Skip to content

Commit 298bd69

Browse files
committed
Pyrona: Use proper LRC increase
1 parent 065e9a4 commit 298bd69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/regions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1994,7 +1994,7 @@ void _Py_RegionAddLocalReference(PyObject *tgt) {
19941994
return;
19951995
}
19961996

1997-
Py_REGION_DATA(tgt)->lrc += 1;
1997+
regionmetadata_inc_lrc(Py_REGION_DATA(tgt));
19981998
}
19991999

20002000
// Convenience function for moving multiple references into tgt at once

0 commit comments

Comments
 (0)