GH-93728: fix memory leak in deepfrozen code objects by kumaraditya303 · Pull Request #93729 · python/cpython
Valgrind report with fix:
==27367== HEAP SUMMARY: ==27367== in use at exit: 0 bytes in 0 blocks ==27367== total heap usage: 19,728 allocs, 19,728 frees, 2,629,532 bytes allocated ==27367== ==27367== All heap blocks were freed -- no leaks are possible ==27367== ==27367== Use --track-origins=yes to see where uninitialised values come from ==27367== For lists of detected and suppressed errors, rerun with: -s ==27367== ERROR SUMMARY: 40 errors from 12 contexts (suppressed: 0 from 0)