vzctl_env_switch_snapshot: fix leak on error path

If ploop.uuid_generate() failed, follow proper rollback path.

Reported by Coverity, CID 996913.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed