1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

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

View File

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