Skip to content

Commit ba6d5d1

Browse files
bpo-30860: Always provide serialno. (#3507)
This fixes bpo-31407.
1 parent 9d984fd commit ba6d5d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/mem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ struct _pymem_runtime_state {
4040
size_t ntimes_arena_allocated;
4141
poolp usedpools[MAX_POOLS];
4242
Py_ssize_t num_allocated_blocks;
43-
size_t serialno; /* incremented on each debug {m,re}alloc */
4443
#endif /* WITH_PYMALLOC */
44+
size_t serialno; /* incremented on each debug {m,re}alloc */
4545
};
4646

4747
PyAPI_FUNC(void) _PyMem_Initialize(struct _pymem_runtime_state *);

0 commit comments

Comments
 (0)