From 0643c51cabdb4d161ef4da9bc27e4e0e307ec6a7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 27 Sep 2008 12:05:48 +0200 Subject: mktemp: plug an inconsequential leak * src/mktemp.c (main) [lint]: Free template. --- src/mktemp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mktemp.c b/src/mktemp.c index d745e6069..0555d41a8 100644 --- a/src/mktemp.c +++ b/src/mktemp.c @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -/* Jim Meyering */ +/* Written by Jim Meyering. */ #include #include @@ -279,6 +279,7 @@ main (int argc, char **argv) #ifdef lint free (dest_name); + free (template); #endif exit (status); -- cgit v1.2.3-54-g00ecf