svn commit: r327267 - head/usr.bin/tcopy
Warner Losh
imp at FreeBSD.org
Thu Dec 28 05:33:43 UTC 2017
Author: imp
Date: Thu Dec 28 05:33:39 2017
New Revision: 327267
URL: https://svnweb.freebsd.org/changeset/base/327267
Log:
Free inb on error return.
CID: 270099
Modified:
head/usr.bin/tcopy/tcopy.c
Modified: head/usr.bin/tcopy/tcopy.c
==============================================================================
--- head/usr.bin/tcopy/tcopy.c Thu Dec 28 05:33:34 2017 (r327266)
+++ head/usr.bin/tcopy/tcopy.c Thu Dec 28 05:33:39 2017 (r327267)
@@ -263,6 +263,7 @@ r2: if (inn != outn) {
if (!inn) {
if (eot++) {
fprintf(msg, "tcopy: tapes are identical.\n");
+ free(inb);
return;
}
} else {
More information about the svn-src-all
mailing list