Free inb on error return.

CID: 270099
This commit is contained in:
Warner Losh 2017-12-28 05:33:39 +00:00
parent 074170fb81
commit 7e7e1b062b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327267

View file

@ -263,6 +263,7 @@ r2: if (inn != outn) {
if (!inn) {
if (eot++) {
fprintf(msg, "tcopy: tapes are identical.\n");
free(inb);
return;
}
} else {