From 9684920cb5d3daa722b0c212eba13d641f5c7688 Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Mon, 25 Mar 2024 19:44:34 +0100 Subject: [PATCH] Correct definitely lost bytes tracked by valgrind --leak-check=all --- src/cluster/cluster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster/cluster.cpp b/src/cluster/cluster.cpp index af292c1b..87dd1791 100644 --- a/src/cluster/cluster.cpp +++ b/src/cluster/cluster.cpp @@ -620,7 +620,7 @@ void cluster(string config_file, string data_file, string output_path) { tppoanp_2->close(); delete tppoanp_2; delete[] gaps_2; - for (int ti = 0; ti <2 -1; ti++) { + for (int ti = 0; ti < 2; ti++) { delete[] tqse_2[ti]; delete[] tqce_2[ti]; delete[] tqcs_2[ti]; -- GitLab