]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virbitmaptest: Shut coverity up in case of broken test
authorPeter Krempa <pkrempa@redhat.com>
Mon, 19 Aug 2013 12:02:52 +0000 (14:02 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 19 Aug 2013 13:54:43 +0000 (15:54 +0200)
commit39d963d1c0090fab56ac4998f81ec7aabd0cfe00
tree5db7f96b627a50fc99c6d380dae9f2fe8878346f
parent9f5b4b1f62aa10591f31d481bcd0f0b1db802bc8
virbitmaptest: Shut coverity up in case of broken test

Coverity reported a memleak in the test added in 7efd5fd1b02. In case
the code will be broken and the code will actually parse a faulty bitmap
the resulting pointer would be leaked. Free it although that shouldn't
ever happen.
tests/virbitmaptest.c