projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b616886
)
mktemp: plug an inconsequential leak
author
Jim Meyering
<meyering@redhat.com>
Sat, 27 Sep 2008 10:05:48 +0000
(12:05 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Sun, 28 Sep 2008 21:02:40 +0000
(23:02 +0200)
* src/mktemp.c (main) [lint]: Free template.
src/mktemp.c
patch
|
blob
|
history
diff --git
a/src/mktemp.c
b/src/mktemp.c
index
d745e60
..
0555d41
100644
(file)
--- 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);