r3458: --leaks option for checking memory leaks