From: Ján Tomko Date: Tue, 24 Jun 2014 12:35:59 +0000 (+0200) Subject: Free file header in virStorageFileGetMetadataRecurse X-Git-Tag: v1.2.6-rc1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7086d7fab94863e38e71aca559938e0bd4900849;p=thirdparty%2Flibvirt.git Free file header in virStorageFileGetMetadataRecurse Introduced by commit 2bdb8b9 --- diff --git a/src/storage/storage_driver.c b/src/storage/storage_driver.c index 7116185614..a5adc63dbb 100644 --- a/src/storage/storage_driver.c +++ b/src/storage/storage_driver.c @@ -2906,6 +2906,7 @@ virStorageFileGetMetadataRecurse(virStorageSourcePtr src, ret = 0; cleanup: + VIR_FREE(buf); virStorageFileDeinit(src); virStorageSourceFree(backingStore); return ret;