Skip to content

Commit 1e64a5b

Browse files
committed
Fix another missed astn deletion.
1 parent 73ecf65 commit 1e64a5b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/module-sbml.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,6 +1437,7 @@ void Module::LoadSBML(Model* sbml)
14371437
}
14381438
Formula form;
14391439
char* formula = SBML_formulaToL3String(astn);
1440+
delete astn;
14401441
setFormulaWithString(formula, &form, this);
14411442
free(formula);
14421443
if (gpavar->SetFormula(&form)) {

0 commit comments

Comments
 (0)