Skip to content

Commit 98ef483

Browse files
miss-islingtonljfp
andauthored
[3.14] gh-133590: ensure that TableEntry.linenumber_borrow is initialized (GH-133681) (#133872)
gh-133590: ensure that `TableEntry.linenumber_borrow` is initialized (GH-133681) (cherry picked from commit c838e21) Co-authored-by: Lauta <ljfp@ljfp.xyz>
1 parent f7d7248 commit 98ef483

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)