ia64/xen-unstable

changeset 2568:653fd1eddd8c

bitkeeper revision 1.1159.95.1 (415a82eauG6CiQHX1_qZWxeq5kcwrg)

Fix small memory leak in block device probing code.
author cl349@freefall.cl.cam.ac.uk
date Wed Sep 29 09:39:54 2004 +0000 (2004-09-29)
parents 3f0a9708178b
children e7ec6d1ba0b4
files linux-2.6.8.1-xen-sparse/drivers/xen/blkfront/vbd.c
line diff
     1.1 --- a/linux-2.6.8.1-xen-sparse/drivers/xen/blkfront/vbd.c	Mon Sep 27 17:35:52 2004 +0000
     1.2 +++ b/linux-2.6.8.1-xen-sparse/drivers/xen/blkfront/vbd.c	Wed Sep 29 09:39:54 2004 +0000
     1.3 @@ -101,6 +101,8 @@ static int xlvbd_get_vbd_info(vdisk_t *d
     1.4           nr = MAX_VBDS;
     1.5      memcpy(disk_info, buf, nr * sizeof(vdisk_t));
     1.6  
     1.7 +    free_page((unsigned long)buf);
     1.8 +
     1.9      return nr;
    1.10  }
    1.11