diff options
Diffstat (limited to 'repl.c')
-rw-r--r-- | repl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,8 @@ repl(Term *database) print("?- "); Term *query = parse(fd, nil, 1); Binding *bindings = nil; + choicestack = nil; + goalstack = nil; /* should free old choicestack and goalstack */ int success; FindMore: success = evalquery(database, query, &bindings); |