debuggers.hg
changeset 20818:5254234fdb71
libxenlight: don't free ifname, can lead to double free
ifname is mostly handled directly in xl now, do not attempts to free
this.
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
ifname is mostly handled directly in xl now, do not attempts to free
this.
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Fri Jan 08 11:44:58 2010 +0000 (2010-01-08) |
parents | 5a5c2ed76aaf |
children | dda8dc485d67 |
files | tools/libxl/xl.c |
line diff
1.1 --- a/tools/libxl/xl.c Fri Jan 08 11:44:15 2010 +0000 1.2 +++ b/tools/libxl/xl.c Fri Jan 08 11:44:58 2010 +0000 1.3 @@ -888,9 +888,6 @@ start: 1.4 } 1.5 1.6 close(logfile); 1.7 - for (i = 0; i < num_vifs; i++) { 1.8 - free(vifs[i].ifname); 1.9 - } 1.10 free(disks); 1.11 free(vifs); 1.12 free(vfbs);