diff --git a/usr.bin/patch/inp.c b/usr.bin/patch/inp.c index ab657bf98bcb..3aa50c688c04 100644 --- a/usr.bin/patch/inp.c +++ b/usr.bin/patch/inp.c @@ -1,7 +1,7 @@ /* * $OpenBSD: inp.c,v 1.34 2006/03/11 19:41:30 otto Exp $ * $DragonFly: src/usr.bin/patch/inp.c,v 1.6 2007/09/29 23:11:10 swildner Exp $ - * $NetBSD: inp.c,v 1.29 2023/06/16 23:32:37 wiz Exp $ + * $NetBSD: inp.c,v 1.30 2023/06/16 23:36:26 wiz Exp $ */ /* @@ -31,7 +31,7 @@ */ #include -__RCSID("$NetBSD: inp.c,v 1.29 2023/06/16 23:32:37 wiz Exp $"); +__RCSID("$NetBSD: inp.c,v 1.30 2023/06/16 23:36:26 wiz Exp $"); #include #include @@ -271,6 +271,7 @@ plan_a(const char *filename) } else if (statfailed) { fatal("can't find %s\n", filename); } + free(lbuf); free(tmp_filename1); free(tmp_filename2); }