]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Free file header in virStorageFileGetMetadataRecurse
authorJán Tomko <jtomko@redhat.com>
Tue, 24 Jun 2014 12:35:59 +0000 (14:35 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 24 Jun 2014 12:41:19 +0000 (14:41 +0200)
Introduced by commit 2bdb8b9

src/storage/storage_driver.c

index 7116185614b0de281b74284baa80fc29fc1b60b0..a5adc63dbbe54a3f38d709159b78e4086076169b 100644 (file)
@@ -2906,6 +2906,7 @@ virStorageFileGetMetadataRecurse(virStorageSourcePtr src,
     ret = 0;
 
  cleanup:
+    VIR_FREE(buf);
     virStorageFileDeinit(src);
     virStorageSourceFree(backingStore);
     return ret;