Proposed Fix for Issue #789

See the comment on the Issue.
This commit is contained in:
Dennis
2024-05-23 10:24:29 +03:00
parent ef234a1919
commit 9307913c5b
2 changed files with 2 additions and 0 deletions

View File

@@ -286,6 +286,7 @@ void closehyd(Project *pr)
{ {
freesparse(pr); freesparse(pr);
freematrix(pr); freematrix(pr);
freeadjlists(pr);
} }

View File

@@ -410,6 +410,7 @@ int closequal(Project *pr)
FREE(qual->FlowDir); FREE(qual->FlowDir);
FREE(qual->SortedNodes); FREE(qual->SortedNodes);
} }
freeadjlists(pr);
return errcode; return errcode;
} }