From 95316118206aeed718ae6260ef9b5a1a4a6dacd8 Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 19 Jul 2018 14:43:35 -0400 Subject: fix mem leak --- run_replicas.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'run_replicas.sh') diff --git a/run_replicas.sh b/run_replicas.sh index 213b6b7..450dac3 100755 --- a/run_replicas.sh +++ b/run_replicas.sh @@ -5,7 +5,7 @@ if [[ $# -gt 0 ]]; then fi for i in "${rep[@]}"; do echo "starting replica $i" - #valgrind ./hotstuff-app --conf hotstuff-sec${i}.conf > log${i} 2>&1 & - ./hotstuff-app --conf hotstuff-sec${i}.conf > log${i} 2>&1 & + valgrind --leak-check=full ./hotstuff-app --conf hotstuff-sec${i}.conf > log${i} 2>&1 & + #./hotstuff-app --conf hotstuff-sec${i}.conf > log${i} 2>&1 & done wait -- cgit v1.2.3-70-g09d2