• M
    storage: Avoid memory leak on metadata fetching · 85aa40e2
    Michal Privoznik 提交于
    Getting metadata on storage allocates a memory (path) which need to
    be freed after use otherwise it gets leaked. This means after use of
    virStorageFileGetMetadataFromFD or virStorageFileGetMetadata one
    must call virStorageFileFreeMetadata to free it. This function frees
    structure internals and structure itself.
    85aa40e2
storage_file.h 2.7 KB