debuggers.hg

changeset 21946:7090637d61c5

xl: destroy the logger before exit

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Ian Campbell <ian.campbell@citrix.com>
date Fri Jul 30 15:16:18 2010 +0100 (2010-07-30)
parents 5b52397e10dc
children 9f49667fec71
files tools/libxl/xl.c
line diff
     1.1 --- a/tools/libxl/xl.c	Fri Jul 30 15:15:54 2010 +0100
     1.2 +++ b/tools/libxl/xl.c	Fri Jul 30 15:16:18 2010 +0100
     1.3 @@ -83,6 +83,7 @@ int main(int argc, char **argv)
     1.4      }
     1.5  
     1.6      libxl_ctx_free(&ctx);
     1.7 +    xtl_logger_destroy((xentoollog_logger*)logger);
     1.8  
     1.9      return ret;
    1.10  }