WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 3 of 3] xl: destroy the logger before exit

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 3 of 3] xl: destroy the logger before exit
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Fri, 30 Jul 2010 10:02:51 +0100
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
Delivery-date: Fri, 30 Jul 2010 02:05:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1280480568@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1280477591 -3600
# Node ID f5f5949d98f0104ad1422ddacded20875f23d38d
# Parent  8b2d8f18090171e161c398019bacedbb5f43455b
xl: destroy the logger before exit

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r 8b2d8f180901 -r f5f5949d98f0 tools/libxl/xl.c
--- a/tools/libxl/xl.c  Fri Jul 30 09:13:11 2010 +0100
+++ b/tools/libxl/xl.c  Fri Jul 30 09:13:11 2010 +0100
@@ -83,6 +83,7 @@ int main(int argc, char **argv)
     }
 
     libxl_ctx_free(&ctx);
+    xtl_logger_destroy((xentoollog_logger*)logger);
 
     return ret;
 }

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel