Skip to content

Commit d5b1989

Browse files
committed
WIP
1 parent 05221fb commit d5b1989

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/parser.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4142,12 +4142,7 @@ bool run(parser *p, const char *pSrc, bool dump, query **subq, unsigned int yiel
41424142
}
41434143

41444144
query *q = query_create(p->m);
4145-
4146-
if (!q) {
4147-
p->srcptr = NULL;
4148-
SB_free(src);
4149-
return false;
4150-
}
4145+
check_heap_error(q, p->srcptr = NULL, SB_free(src));
41514146

41524147
if (subq)
41534148
*subq = q;

0 commit comments

Comments
 (0)