Free inb on error return.
CID: 270099
This commit is contained in:
parent
5f0ec9196a
commit
e48f2e83a8
@ -263,6 +263,7 @@ r2: if (inn != outn) {
|
|||||||
if (!inn) {
|
if (!inn) {
|
||||||
if (eot++) {
|
if (eot++) {
|
||||||
fprintf(msg, "tcopy: tapes are identical.\n");
|
fprintf(msg, "tcopy: tapes are identical.\n");
|
||||||
|
free(inb);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user