Installer: minor memory leak fix. CID 1713.
This commit is contained in:
@@ -182,6 +182,8 @@ printf("CopyFile - cancled\n");
|
|||||||
if (read < 0) {
|
if (read < 0) {
|
||||||
ret = (status_t)read;
|
ret = (status_t)read;
|
||||||
fprintf(stderr, "Failed to read data: %s\n", strerror(ret));
|
fprintf(stderr, "Failed to read data: %s\n", strerror(ret));
|
||||||
|
delete buffer;
|
||||||
|
delete destination;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user