qtest/ide: Fix small memory leak
commite42de189e8eaf3dc93f22e88beca4f5b62ef336c
authorJohn Snow <jsnow@redhat.com>
Mon, 4 Aug 2014 21:11:25 +0000 (4 17:11 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 15 Aug 2014 17:03:13 +0000 (15 18:03 +0100)
tree45326ef4d44b4e8cdacec58c2edf73abe4e909c4
parent6ce7100e7ff986c1f214f6bccca89dfd7256d8ec
qtest/ide: Fix small memory leak

For libqos debugging purposes, it's nice to
be able to assert that tests and associated libraries
have no memory leaks. To that end, free up the
trivial cmdline leak.

The remaining leaks caused by pc_alloc_init are fixed
instead by my first-fit pc_alloc implementation already
on the qemu-devel mailing list.

Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/ide-test.c