From 67e88ab9635136f62aab0b9e68f05d16fab123f5 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 9 Feb 2016 15:17:19 +0100 Subject: [PATCH 1/1] plug another similar memleak. The solution is not nicer --- src/smpi/smpi_base.cpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/smpi/smpi_base.cpp b/src/smpi/smpi_base.cpp index 4cbf4edac0..1a987ed230 100644 --- a/src/smpi/smpi_base.cpp +++ b/src/smpi/smpi_base.cpp @@ -102,14 +102,16 @@ static xbt_dynar_t parse_factor(const char *smpi_coef_string) if (xbt_dynar_length(radical_elements2) <2 || xbt_dynar_length(radical_elements2) > 5) xbt_die("Malformed radical for smpi factor: '%s'", smpi_coef_string); for(i =0; i