qemu/hw/ide
Jason Baron ea8d82a1ed ahci: Fix sglist memleak in ahci_dma_rw_buf()
I noticed that in hw/ide/ahci:ahci_dma_rw_buf() we do not free the sglist. Thus,
I've added a call to qemu_sglist_destroy() to fix this memory leak.

In addition, I've adeed a call in qemu_sglist_destroy() to 0 all of the sglist
fields, in case there is some other codepath that tries to free the sglist.

Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-08-10 10:25:12 +02:00
..
ahci.c ahci: Fix sglist memleak in ahci_dma_rw_buf() 2012-08-10 10:25:12 +02:00
ahci.h ide/ahci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
atapi.c atapi: implement READ DISC INFORMATION 2012-07-02 10:18:41 +02:00
cmd646.c Merge branch pci into master 2012-07-29 17:05:35 +03:00
core.c hw/block-common: Factor out fall back to legacy -drive cyls=... 2012-07-17 16:48:32 +02:00
ich.c Merge branch pci into master 2012-07-29 17:05:35 +03:00
internal.h ahci: Fix ahci cdrom read corruptions for reads > 128k 2012-08-10 10:25:12 +02:00
isa.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
macio.c iommu: Make sglists and dma_bdrv helpers use new universal DMA helpers 2012-06-27 16:33:25 -05:00
Makefile.objs build: convert libhw to nested Makefile.objs 2012-06-07 09:21:17 +02:00
microdrive.c hw: Trim superfluous #include "block_int.h" 2011-09-12 15:17:21 +02:00
mmio.c ide/mmio: convert to memory API 2011-11-24 18:31:59 +02:00
pci.c ide: fix compilation errors when DEBUG_IDE is set 2012-02-10 10:44:52 +00:00
pci.h ide: convert to memory API 2011-08-08 10:15:54 -05:00
piix.c Merge branch pci into master 2012-07-29 17:05:35 +03:00
qdev.c ide scsi: Mess with geometry only for hard disk devices 2012-08-06 22:39:14 +02:00
via.c Merge branch pci into master 2012-07-29 17:05:35 +03:00