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
..
2012-07-02 10:18:41 +02:00
2012-07-29 17:05:35 +03:00
2012-07-29 17:05:35 +03:00
2012-02-15 09:39:21 -06:00
2011-11-24 18:31:59 +02:00
2012-07-29 17:05:35 +03:00
2012-07-29 17:05:35 +03:00