summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorLuke Garland <luke.garland01@gmail.com>2022-12-02 10:13:33 (GMT)
committerGitHub <noreply@github.com>2022-12-02 10:13:33 (GMT)
commitb027dd78bbdb66f2995bb898af304e66e5508bf6 (patch)
tree8186b09f41ea27821a8d8ff90152617c29af6736 /Misc/NEWS.d
parent64dae2efd5a083d342d744d40ca8d6ebb28bc771 (diff)
downloadcpython-b027dd78bbdb66f2995bb898af304e66e5508bf6.zip
cpython-b027dd78bbdb66f2995bb898af304e66e5508bf6.tar.gz
cpython-b027dd78bbdb66f2995bb898af304e66e5508bf6.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. (cherry picked from commit 85c128e34daec7625b74746e127afa25888ccde1) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-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.