aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/mkdtemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/unix/guts/mkdtemp.c')
-rw-r--r--ports/unix/guts/mkdtemp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/unix/guts/mkdtemp.c b/ports/unix/guts/mkdtemp.c
index 5ef647b..5337661 100644
--- a/ports/unix/guts/mkdtemp.c
+++ b/ports/unix/guts/mkdtemp.c
@@ -40,7 +40,6 @@
/* mkdtemp only changes the XXXXXX at the end. */
memcpy(template + len - 6, tmp_template + strlen(tmp_template) - 6, 6);
rc = template;
- free(tmp_template);
/* return rc;
* }
*/