commit | a88ca37ea68d5b4ddfb3fd92cc53a5128817c43e | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Aug 23 17:13:45 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Aug 23 17:13:45 2013 -0700 |
tree | 14c3360b56b61b190235a1cda48ec24e9bbb2569 | |
parent | 746ebfcdec22827f4ece0891affa39efa2460f9a [diff] |
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>