summaryrefslogtreecommitdiffstats
path: root/man3/mtrace.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/mtrace.3')
-rw-r--r--man3/mtrace.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/mtrace.3 b/man3/mtrace.3
index 3713ffedf..c7fb2f81f 100644
--- a/man3/mtrace.3
+++ b/man3/mtrace.3
@@ -132,15 +132,15 @@ The demonstration uses the following program:
#include <mcheck.h>
#include <stdio.h>
#include <stdlib.h>
-
+\&
int
main(void)
{
mtrace();
-
+\&
for (unsigned int j = 0; j < 2; j++)
malloc(100); /* Never freed\-\-a memory leak */
-
+\&
calloc(16, 16); /* Never freed\-\-a memory leak */
exit(EXIT_SUCCESS);
}