mirror of https://gitee.com/openkylin/libvirt.git
tests: Resolve Coverity RESOURCE_LEAK
Commit id 'b77ce18a2' added a new bitmap, but neglected to virBitmapFree it
This commit is contained in:
parent
31ef0836a7
commit
960e009c58
|
@ -548,6 +548,7 @@ test10(const void *opaque ATTRIBUTE_UNUSED)
|
|||
virBitmapFree(b1);
|
||||
virBitmapFree(b2);
|
||||
virBitmapFree(b3);
|
||||
virBitmapFree(b4);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue