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-changelog

[Xen-changelog] [xen-unstable] xenpm: Fix an error path.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xenpm: Fix an error path.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Nov 2008 08:10:11 -0800
Delivery-date: Wed, 19 Nov 2008 08:10:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1226077239 0
# Node ID 256067cbf5b30d07e856f8a4b97fae506b2f3c60
# Parent  3450cb9706acc2a1aa55316cb3e1474b57172419
xenpm: Fix an error path.

Signed-off-by: Jinsong Liu <jinsong.liu@xxxxxxxxx>
---
 tools/misc/xenpm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 3450cb9706ac -r 256067cbf5b3 tools/misc/xenpm.c
--- a/tools/misc/xenpm.c        Thu Nov 06 11:50:21 2008 +0000
+++ b/tools/misc/xenpm.c        Fri Nov 07 17:00:39 2008 +0000
@@ -170,7 +170,7 @@ int main(int argc, char **argv)
             if ( !pxstat->pt )
             {
                 fprintf(stderr, "failed to malloc for P-states table\n");
-                free(pxstat->pt);
+                free(pxstat->trans_pt);
                 break;
             }
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xenpm: Fix an error path., Xen patchbot-unstable <=