vzlist: refactor get_ub()/update_ubc()

1. Do not use struct Cveinfo -- there is no need to
2. Only allocate new struct Cubc when it's really needed

Number 2 should fix a lot of memory leaks :)

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