Skip to content

Commit c838e21

Browse files
authored
gh-133590: ensure that TableEntry.linenumber_borrow is initialized (#133681)
1 parent f91127a commit c838e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/stackrefs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
#include "Python.h"
32

43
#include "pycore_object.h"
@@ -34,6 +33,7 @@ make_table_entry(PyObject *obj, const char *filename, int linenumber)
3433
result->filename = filename;
3534
result->linenumber = linenumber;
3635
result->filename_borrow = NULL;
36+
result->linenumber_borrow = 0;
3737
return result;
3838
}
3939

0 commit comments

Comments
 (0)