csync_vio_local: fix memory leak on windows