Skip to content

Commit

Permalink
[phreeqci] Fixed memory leak for phreeqci
Browse files Browse the repository at this point in the history
  • Loading branch information
scharlton2 committed May 15, 2024
1 parent 7cc962d commit ccc415d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PBasic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3668,6 +3668,7 @@ factor(struct LOC_exec * LINK)
char* min_name = strexpr(LINK);
require(tokrp, LINK);
if (parse_all) {
PhreeqcPtr->PHRQ_free(min_name);
n.UU.val = 1;
break;
}
Expand Down

0 comments on commit ccc415d

Please # to comment.