summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 382fe2a6f5..59ce629300 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3871,7 +3871,8 @@ if (HAVE_CMOV)
* file for some tools to link against. */
#ifndef DISABLE_MAIN
int main(int argc,char* argv[]){
-
+ if (argc > 1 && !strcmp(argv[1], "-leak-report"))
+ talloc_enable_leak_report();
char * mem_ptr;