From: Jim Meyering Date: Sat, 27 Sep 2008 10:05:48 +0000 (+0200) Subject: mktemp: plug an inconsequential leak X-Git-Tag: v7.0~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0643c51cabdb4d161ef4da9bc27e4e0e307ec6a7;p=thirdparty%2Fcoreutils.git mktemp: plug an inconsequential leak * src/mktemp.c (main) [lint]: Free template. --- diff --git a/src/mktemp.c b/src/mktemp.c index d745e6069a..0555d41a8e 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);