Date: Thu, 28 Dec 2017 05:33:39 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r327267 - head/usr.bin/tcopy Message-ID: <201712280533.vBS5XduV024312@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712280533.vBS5XduV024312>