Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 51deac9

Browse files
committed
Fix refleak MallocInfoType
1 parent 6662acf commit 51deac9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/sysmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3486,6 +3486,7 @@ _PySys_Fini(PyInterpreterState *interp)
34863486
#ifdef __EMSCRIPTEN__
34873487
Py_CLEAR(EmscriptenInfoType);
34883488
#endif
3489+
_PyStructSequence_FiniType(&MallocInfoType);
34893490
}
34903491
}
34913492

0 commit comments

Comments
 (0)