From 1982fedca61b9b7c4bec2e6f2d31ee566fb51923 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 2 May 2015 19:03:28 +0200 Subject: options: remove --leak-report Use the environment variable instead. --- DOCS/tech-overview.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'DOCS') diff --git a/DOCS/tech-overview.txt b/DOCS/tech-overview.txt index fd6a7a1fb7..914b2222b4 100644 --- a/DOCS/tech-overview.txt +++ b/DOCS/tech-overview.txt @@ -75,8 +75,7 @@ talloc.h & talloc.c: allocation call will never return NULL. One very useful feature of talloc is fast tracking of memory leaks. ("Fast" - as in it doesn't require valgrind.) You can enable it by passing the option - --leak-report as first parameter, or better, setting the + as in it doesn't require valgrind.) You can enable it by setting the MPV_LEAK_REPORT environment variable to "1": export MPV_LEAK_REPORT=1 This will list all unfree'd allocations on exit. -- cgit v1.2.3