Skip to content

Commit 4b25d1f

Browse files
committed
Adalog: fix a memory leak in N_Propagate equations
TN: SB20-024
1 parent 20b6b5a commit 4b25d1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

support/langkit_support-adalog-solver.adb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,6 +1837,7 @@ package body Langkit_Support.Adalog.Solver is
18371837
Free (Self.Conv);
18381838

18391839
when N_Propagate =>
1840+
Self.Comb_Vars.Destroy;
18401841
Destroy (Self.Comb.all);
18411842
Free (Self.Comb);
18421843

0 commit comments

Comments
 (0)