mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Fix memory leak in virStorageBackendCopyToFD
This commit is contained in:
parent
0c3fb8d41c
commit
27ba0ad905
@ -198,6 +198,8 @@ cleanup:
|
|||||||
if (inputfd != -1)
|
if (inputfd != -1)
|
||||||
close(inputfd);
|
close(inputfd);
|
||||||
|
|
||||||
|
VIR_FREE(buf);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user