diff options
author | Jim Meyering <meyering@redhat.com> | 2008-09-27 12:05:48 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-09-28 23:02:40 +0200 |
commit | 0643c51cabdb4d161ef4da9bc27e4e0e307ec6a7 (patch) | |
tree | 7f53c198666d066d3dc1e9342b944c96127e3380 /src/mktemp.c | |
parent | b6168864929a108331c76438e8c8cbe4099c499d (diff) | |
download | coreutils-0643c51cabdb4d161ef4da9bc27e4e0e307ec6a7.tar.xz |
mktemp: plug an inconsequential leak
* src/mktemp.c (main) [lint]: Free template.
Diffstat (limited to 'src/mktemp.c')
-rw-r--r-- | src/mktemp.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>. */ -/* Jim Meyering */ +/* Written by Jim Meyering. */ #include <config.h> #include <stdio.h> @@ -279,6 +279,7 @@ main (int argc, char **argv) #ifdef lint free (dest_name); + free (template); #endif exit (status); |