From 7086d7fab94863e38e71aca559938e0bd4900849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Tue, 24 Jun 2014 14:35:59 +0200 Subject: [PATCH] Free file header in virStorageFileGetMetadataRecurse Introduced by commit 2bdb8b9 --- src/storage/storage_driver.c | 1 + 1 file changed, 1 insertion(+) 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; -- GitLab