1
0
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:
Matthias Bolte 2009-12-11 00:54:49 +01:00
parent 0c3fb8d41c
commit 27ba0ad905

View File

@ -198,6 +198,8 @@ cleanup:
if (inputfd != -1)
close(inputfd);
VIR_FREE(buf);
return ret;
}