Free file header in virStorageFileGetMetadataRecurse

Introduced by commit 2bdb8b9
This commit is contained in:
Ján Tomko 2014-06-24 14:35:59 +02:00
parent 6512c8b456
commit 7086d7fab9
1 changed files with 1 additions and 0 deletions

View File

@ -2906,6 +2906,7 @@ virStorageFileGetMetadataRecurse(virStorageSourcePtr src,
ret = 0;
cleanup:
VIR_FREE(buf);
virStorageFileDeinit(src);
virStorageSourceFree(backingStore);
return ret;