libqos: Fixes a small memory leak.
authorJohn Snow <jsnow@redhat.com>
Mon, 4 Aug 2014 21:11:23 +0000 (17:11 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 15 Aug 2014 17:03:13 +0000 (18:03 +0100)
commit7f2a5ae6c1194b1676f1a7239fbcacd9d59637be
tree111780931fac795efe6bd904703f8b9ee181f98c
parenta7afc6b8c13c70e9c40b4f666be80600f8ad0b3d
libqos: Fixes a small memory leak.

Allow users the chance to clean up the QPCIBusPC structure
by adding a small cleanup routine. Helps clear up small
memory leaks during setup/teardown, to allow for cleaner
debug output messages.

Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/libqos/pci-pc.c
tests/libqos/pci-pc.h