]> granicus.if.org Git - python/commit
bpo-36356: pymain_free() calls _PyRuntime_Finalize() (GH-12435)
authorVictor Stinner <vstinner@redhat.com>
Tue, 19 Mar 2019 13:53:58 +0000 (14:53 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Mar 2019 13:53:58 +0000 (14:53 +0100)
commitf5f336a819a3d881bb217bf8f9b5cacba03a4e45
treea5673005a042063677a7eb14763cfa6e1d9a6d41
parentfecc4f2b474f16062514e95a67e66080fd626e14
bpo-36356: pymain_free() calls _PyRuntime_Finalize() (GH-12435)

Ensure that _PyRuntime_Finalize() is always call. This change fix a
few memory leaks when running "python3 -V".
Include/internal/pycore_pystate.h
Modules/main.c