Files
xen/tools
George Dunlap 682d0459c3 golang/xenlight: Don't leak memory on context open failure
If libxl_ctx_alloc() returns an error, we need to destroy the logger
that we made.

Restructure the Close() method such that it checks for each resource
to be freed and then frees it.  This allows Close() to be come
idempotent, as well as to be a useful clean-up to a partially-created
context.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Nick Rosbrook <rosbrookn@ainfosec.com>
2020-01-21 17:48:24 +00:00
..
2019-11-12 10:39:01 +00:00
2018-11-20 14:42:50 +00:00
2020-01-20 12:15:43 +00:00
2018-11-28 16:12:44 +00:00
2019-11-12 10:39:01 +00:00
2019-11-12 10:39:01 +00:00
2020-01-14 11:26:40 +00:00