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
..
2014-12-17 05:49:32 +03:00
2014-05-05 20:58:33 +02:00
2015-07-04 02:06:02 -04:00
2015-06-22 17:40:00 +02:00
2014-05-05 20:58:33 +02:00
2014-03-31 22:36:17 +02:00
2015-04-28 15:27:51 -04:00
2014-05-05 20:58:33 +02:00
2014-05-05 20:58:33 +02:00
2014-02-14 21:07:13 +01:00
2015-05-22 15:58:22 -04:00
2014-02-14 20:50:19 +01:00
2014-02-14 16:22:33 +01:00
2015-06-05 19:45:09 +02:00
2015-06-22 17:40:00 +02:00
2013-02-01 08:32:20 +01:00
2014-02-14 21:02:27 +01:00
2014-03-31 22:35:50 +02:00
2014-02-14 16:22:33 +01:00