Skip to content

Commit

Permalink
Fix string leak, re issue #670
Browse files Browse the repository at this point in the history
  • Loading branch information
infradig committed Feb 14, 2025
1 parent 4f3c806 commit 2d81f7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/query.c
Original file line number Diff line number Diff line change
Expand Up @@ -909,13 +909,13 @@ static bool resume_any_choices(const query *q, const frame *f)

static void trim_frame(query *q, const frame *f)
{
#if 0
for (unsigned i = 0; i < f->actual_slots; i++) {
slot *e = GET_SLOT(f, i);
cell *c = &e->c;
unshare_cell(c);
c->tag = TAG_EMPTY;
c->flags = 0;
}
#endif

q->st.sp -= f->actual_slots;
q->st.fp--;
Expand Down

0 comments on commit 2d81f7e

Please sign in to comment.