Files
xen/tools/xl
Olaf Hering 89bfc1effd xl: free bitmaps on exit
Every invocation of xl via valgrind will show three leaks.
Since libxl_bitmap_alloc uses NOGC, the caller has to free the memory
after use. And since xl_ctx_free might be called before
parse_global_config, also move the libxl_bitmap_init calls into
xl_ctx_alloc.

Also move the call to atexit() after xl_ctx_alloc, because the latter is
also called again in postfork.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Wei Liu <wei.liu2@citrix.com>
2018-11-30 12:37:52 +00:00
..
2017-03-02 13:41:03 +00:00
2018-07-25 11:08:21 +01:00
2017-02-28 10:40:07 +00:00
2018-10-08 15:20:18 +01:00
2017-02-28 10:40:07 +00:00
2018-07-25 11:08:21 +01:00
2017-02-28 10:40:07 +00:00
2017-02-28 10:40:07 +00:00
2018-07-25 11:08:22 +01:00
2018-11-30 12:37:52 +00:00
2018-08-14 16:56:47 +01:00