diff options
| author | John Snow <jsnow@redhat.com> | 2015-07-04 02:06:02 -0400 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2015-07-04 02:06:02 -0400 |
| commit | 95ea663693fdf4f39976f9aadb004fc77c2058ee (patch) | |
| tree | 25bcac6bbdecbcbce2e00429e66442e645b9d765 /hw/core/qdev-properties-system.c | |
| parent | 0d3e9d1f598e803a02c9bf43ec0b053e873ca79a (diff) | |
| download | focaccia-qemu-95ea663693fdf4f39976f9aadb004fc77c2058ee.tar.gz focaccia-qemu-95ea663693fdf4f39976f9aadb004fc77c2058ee.zip | |
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
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions