ref: 9ef8abbefa9171d713fba46d8f84ac0000cb758b
parent: 49b61a099de4734e638b1122a5542dd616edd462
author: Mura Li <[email protected]>
date: Wed Apr 22 05:30:59 EDT 2020
Fix missing link of linked list
--- a/mi/match.c
+++ b/mi/match.c
@@ -459,6 +459,8 @@
switch (exprop(pat)) {
case Olor:
next = frontierdup(fs);
+ if (fs->next)
+ next->next = fs->next;
fs->next = next;
addrec(fs, pat->expr.args[1], val, path);
addrec(next, pat->expr.args[0], val, path);