SIGN IN SIGN UP

[3.11] bpo-40882: Fix a memory leak in SharedMemory on Windows (GH-20684) (#99973)

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>
L
Luke Garland committed
374b0a2aceb378da6a3df9beffe35acd0c11c06d
Parent: 7f2bcc7
Committed by GitHub <noreply@github.com> on 12/5/2022, 12:38:25 PM