ia64/xen-unstable

changeset 18779:256067cbf5b3

xenpm: Fix an error path.

Signed-off-by: Jinsong Liu <jinsong.liu@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Nov 07 17:00:39 2008 +0000 (2008-11-07)
parents 3450cb9706ac
children 832efb028a1d
files tools/misc/xenpm.c
line diff
     1.1 --- a/tools/misc/xenpm.c	Thu Nov 06 11:50:21 2008 +0000
     1.2 +++ b/tools/misc/xenpm.c	Fri Nov 07 17:00:39 2008 +0000
     1.3 @@ -170,7 +170,7 @@ int main(int argc, char **argv)
     1.4              if ( !pxstat->pt )
     1.5              {
     1.6                  fprintf(stderr, "failed to malloc for P-states table\n");
     1.7 -                free(pxstat->pt);
     1.8 +                free(pxstat->trans_pt);
     1.9                  break;
    1.10              }
    1.11