summaryrefslogtreecommitdiff
path: root/lib/leak-checker.man
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leak-checker.man')
-rw-r--r--lib/leak-checker.man7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/leak-checker.man b/lib/leak-checker.man
new file mode 100644
index 000000000..7b376e1a9
--- /dev/null
+++ b/lib/leak-checker.man
@@ -0,0 +1,7 @@
+.TP
+\fB--check-leaks=\fIfile\fR
+.
+Logs information about memory allocation and deallocation to
+\fIfile\fR, to allow for debugging memory leaks in \fB\*(PN\fR. This
+option slows down \fB\*(PN\fR considerably, so it should only be used
+when a memory leak is suspected.