summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2022-11-25 17:39:48 (GMT)
committerGitHub <noreply@github.com>2022-11-25 17:39:48 (GMT)
commit85c128e34daec7625b74746e127afa25888ccde1 (patch)
tree81f9e08d696f6e61ecab4863e5cf345b9ee56906 /Misc
parent8749121b07f48994ea47f2e7ff75fb13c13953f6 (diff)
downloadcpython-85c128e34daec7625b74746e127afa25888ccde1.zip
cpython-85c128e34daec7625b74746e127afa25888ccde1.tar.gz
cpython-85c128e34daec7625b74746e127afa25888ccde1.tar.bz2
bpo-40882: Fix a memory leak in SharedMemory on Windows (GH-20684)
In multiprocessing.shared_memory.SharedMemory(), the temporary view returned by MapViewOfFile() should be unmapped when it is no longer needed.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Windows/2020-06-06-15-10-37.bpo-40882.UvNbdj.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2020-06-06-15-10-37.bpo-40882.UvNbdj.rst b/Misc/NEWS.d/next/Windows/2020-06-06-15-10-37.bpo-40882.UvNbdj.rst
new file mode 100644
index 0000000..2670aee
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2020-06-06-15-10-37.bpo-40882.UvNbdj.rst
@@ -0,0 +1,2 @@
+Fix a memory leak in :class:`multiprocessing.shared_memory.SharedMemory` on
+Windows.