X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4127785827a5debfc03b9e6c09a7bfc45513951e..f6665f4c39a88f3f422c45dfb4287f3ccd73d72a:/src/surf/maxmin.c diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index 1a03fbf4d5..e0d093bc1e 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -66,8 +66,11 @@ void lmm_system_free(lmm_system_t sys) lmm_variable_t var = NULL; lmm_constraint_t cnst = NULL; - while ((var = extract_variable(sys))) + while ((var = extract_variable(sys))) { + WARN2("Variable %p (%d) still in LMM system when freing it: this may be a bug", + var,var->id_int); lmm_var_free(sys, var); + } while ((cnst = extract_constraint(sys))) lmm_cnst_free(sys, cnst);