John Snow 95ea663693 libqos/ahci: fix memory management bugs
There's a handful of trivial bugs in the libqos/ahci functions,
squish them together.

- Zero cached pointers after freeing them
- The Command List Buffer is an array of 32x 32 byte structures, not
  32x 8 byte pointers -- it's 1MiB, not 256 bytes. Zero it ALL.
- Free the correct command in ahci_pick_cmd.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1434470575-21625-4-git-send-email-jsnow@redhat.com
2015-07-04 02:06:02 -04:00
..
2015-07-04 02:06:02 -04:00
2015-05-22 15:58:22 -04:00
2013-07-18 13:27:47 -05:00
2013-07-18 13:27:47 -05:00
2013-05-03 12:03:14 -05:00
2013-05-03 12:03:14 -05:00
2013-05-03 12:03:14 -05:00
2015-05-22 15:58:22 -04:00
2015-05-22 15:58:22 -04:00
2015-03-10 14:02:20 +01:00
2015-03-10 14:02:20 +01:00
2015-05-22 15:58:22 -04:00
2014-08-15 18:03:13 +01:00
2014-09-22 11:39:40 +01:00
2014-10-15 05:03:13 +02:00
2014-10-15 05:03:13 +02:00
2015-03-10 14:02:20 +01:00
2015-03-10 14:02:20 +01:00