Skip to content

Commit

Permalink
Fix pl_query, re issue #672
Browse files Browse the repository at this point in the history
  • Loading branch information
infradig committed Feb 18, 2025
1 parent 42e415e commit 8e30c75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -4177,7 +4177,9 @@ bool run(parser *p, const char *pSrc, bool dump, query **subq, unsigned int yiel

ok = !q->error;
p->m = q->st.curr_m;
query_destroy(q);

if (!subq)
query_destroy(q);

if (p->pl->is_query)
break;
Expand Down

0 comments on commit 8e30c75

Please sign in to comment.