On Sun Jun 25 04:51:30 2023 +0000, Nikolay Sivov wrote:
We could probably use RegRenameKey() instead of this helper.
Parts of this function could be reimplemented on top of RegRenameKey, but if we're going to continue having a distinct error message if the destination key already exists (and we probably should because Windows does), it's still necessary to extract the parent path in order to check. So the memory leak would still have to be addressed.