diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-01-08 11:44:58 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-01-08 11:44:58 +0000 |
commit | aa73db2addd9b9f6c23e490eebd5dd6d650a72c3 (patch) | |
tree | 869a74eb04f4c6b27c5b578cd75109773124b841 | |
parent | 823db1c4ab13e599f324ab5b82df22a5251d9272 (diff) | |
download | xen-aa73db2addd9b9f6c23e490eebd5dd6d650a72c3.tar.gz xen-aa73db2addd9b9f6c23e490eebd5dd6d650a72c3.tar.bz2 xen-aa73db2addd9b9f6c23e490eebd5dd6d650a72c3.zip |
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>
-rw-r--r-- | tools/libxl/xl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c index 79d2f6cb88..996965bc22 100644 --- a/tools/libxl/xl.c +++ b/tools/libxl/xl.c @@ -888,9 +888,6 @@ start: } close(logfile); - for (i = 0; i < num_vifs; i++) { - free(vifs[i].ifname); - } free(disks); free(vifs); free(vfbs); |