Issue #21151: Fixed a segfault in the winreg module.
When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx, PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman. (Also an incidental typo fix in a comment in test_winreg)
Z
Zachary Ware committed
ad4690fcca5704277abece184d49b39a913029d4
Parent: 0d50af4