Add fix for unintentional leaks with ntdll internals.