mirror of https://gitee.com/openkylin/libvirt.git
Free file header in virStorageFileGetMetadataRecurse
Introduced by commit 2bdb8b9
This commit is contained in:
parent
6512c8b456
commit
7086d7fab9
|
@ -2906,6 +2906,7 @@ virStorageFileGetMetadataRecurse(virStorageSourcePtr src,
|
|||
ret = 0;
|
||||
|
||||
cleanup:
|
||||
VIR_FREE(buf);
|
||||
virStorageFileDeinit(src);
|
||||
virStorageSourceFree(backingStore);
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue