[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] blktap: Fix double-free in tapdisk cleanup.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1188487750 -3600 # Node ID b3689eb59c5e7dcdc4c9335c44e621ef405fc1e4 # Parent fba9884685fbe86bb8ab1f73b8a74c42455c33c9 blktap: Fix double-free in tapdisk cleanup. Signed-off-by: Ben Guthro <bguthro@xxxxxxxxxxxxxxx> Signed-off-by: Josh Nicholas <jnicholas@xxxxxxxxxxxxxxx> --- tools/blktap/drivers/tapdisk.c | 4 ---- 1 files changed, 4 deletions(-) diff -r fba9884685fb -r b3689eb59c5e tools/blktap/drivers/tapdisk.c --- a/tools/blktap/drivers/tapdisk.c Thu Aug 30 16:17:07 2007 +0100 +++ b/tools/blktap/drivers/tapdisk.c Thu Aug 30 16:29:10 2007 +0100 @@ -863,11 +863,7 @@ int main(int argc, char *argv[]) ptr = fd_start; while (ptr != NULL) { s = ptr->s; - unmap_disk(s); - free(s->blkif); - free(s->ring_info); - free(s); close(ptr->tap_fd); ptr = ptr->next; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |