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;
}