ia64/xen-unstable

changeset 1068:3de90982de3f

bitkeeper revision 1.706 (40228ec8PTEAW8aGp6aAxDDfLmvnuA)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/br260/lab/xeno.bk
author br260@labyrinth.cl.cam.ac.uk
date Thu Feb 05 18:43:20 2004 +0000 (2004-02-05)
parents 7eb512e5106d d25e0e228b40
children d261b3bfa00c
files tools/xc/lib/xc_linux_build.c
line diff
     1.1 --- a/tools/xc/lib/xc_linux_build.c	Thu Feb 05 15:24:04 2004 +0000
     1.2 +++ b/tools/xc/lib/xc_linux_build.c	Thu Feb 05 18:43:20 2004 +0000
     1.3 @@ -304,9 +304,9 @@ static int setup_guestos(int xc_handle,
     1.4   error_out:
     1.5      if ( pm_handle >= 0 )
     1.6          (void)close_pfn_mapper(pm_handle);
     1.7 -    if ( page_array == NULL )
     1.8 +    if ( page_array )
     1.9          free(page_array);
    1.10 -    if ( pgt_update_arr == NULL )
    1.11 +    if ( pgt_update_arr )
    1.12          free(pgt_update_arr);
    1.13      return -1;
    1.14  }