qemu-e2k/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
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
mmio.c
pci.c
pci.h
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