From 1b83713ba9cae8a9fcb713e0f069a25de1123cab Mon Sep 17 00:00:00 2001 From: Stephen Watson Date: Wed, 21 Apr 2004 18:57:36 +0000 Subject: [PATCH] r3458: --leaks option for checking memory leaks --- ROX-Filer/AppRun | 1 + ROX-Filer/Help/Changes | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ROX-Filer/AppRun b/ROX-Filer/AppRun index b6b11bdd..a338afea 100755 --- a/ROX-Filer/AppRun +++ b/ROX-Filer/AppRun @@ -24,6 +24,7 @@ case $1 in DEBUGGER="gdb" fi ;; --valgrind) shift ; DEBUGGER="valgrind --num-callers=8";; + --leaks) shift ; DEBUGGER="valgrind --num-callers=8 --leak-check=yes";; --compile) shift if [ ! -d "$APP_DIR/src" ] ; then diff --git a/ROX-Filer/Help/Changes b/ROX-Filer/Help/Changes index 8c8c765d..3ee5e5b6 100644 --- a/ROX-Filer/Help/Changes +++ b/ROX-Filer/Help/Changes @@ -7,6 +7,8 @@ Cope with spaces in ROX-Filer's path. Added a load of default keys, since many GTK setups now make it almost impossible to change shortcuts. +Added --leaks option to run ROX-Filer through valgrind with the memory +leak option checking on (Stephen Watson). 08-Apr-2004 ~~~~~~~~~~~ -- 2.11.4.GIT