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