aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/fopencookie.32
1 files changed, 2 insertions, 0 deletions
diff --git a/man3/fopencookie.3 b/man3/fopencookie.3
index f3bad43987..b3d3ebc72b 100644
--- a/man3/fopencookie.3
+++ b/man3/fopencookie.3
@@ -445,6 +445,8 @@ main(int argc, char *argv[])
printf("/%.*s/\en", (int) nread, buf);
}
+ free(mycookie.buf);
+
exit(EXIT_SUCCESS);
}
.EE