os-cmpi-xen

changeset 117:27a7e302adf7

Fixed memory leak in Xen_Disk.c.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
author Jim Fehlig <jfehlig@novell.com>
date Mon Jun 04 14:45:46 2007 -0600 (2007-06-04)
parents 30935f346520
children 8ecc856bd445
files src/Xen_Disk.c
line diff
     1.1 --- a/src/Xen_Disk.c	Wed May 30 15:53:46 2007 -0600
     1.2 +++ b/src/Xen_Disk.c	Mon Jun 04 14:45:46 2007 -0600
     1.3 @@ -128,6 +128,8 @@ static int beginEnum(void **res_list, CM
     1.4        xen_vm_record_free(vm_rec);
     1.5     }
     1.6     
     1.7 +   xen_utils_free_domain_resources(res);
     1.8 +
     1.9     resources->disks = all_disks;
    1.10     resources->currentdisknum = 0;
    1.11