ref: 1d6cb9bf584e35be0786467e1786e60ac909ae21
parent: 228b30bfe204fc490e16eec6ba5484991a765074
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);