]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: Resolve Coverity RESOURCE_LEAK
authorJohn Ferlan <jferlan@redhat.com>
Wed, 15 Apr 2015 14:16:36 +0000 (10:16 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 15 Apr 2015 14:29:41 +0000 (10:29 -0400)
Commit id 'b77ce18a2' added a new bitmap, but neglected to virBitmapFree it

tests/virbitmaptest.c

index 9a84e4ccae5440ce8e88fd6f656ae161d37fc9f0..a6e9a382f5d5a53e8bc32fc8eb79646c0d3af34a 100644 (file)
@@ -548,6 +548,7 @@ test10(const void *opaque ATTRIBUTE_UNUSED)
     virBitmapFree(b1);
     virBitmapFree(b2);
     virBitmapFree(b3);
+    virBitmapFree(b4);
     return ret;
 }