We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 26d3607 + aa36e6f commit 16c6cdfCopy full SHA for 16c6cdf
jsquery_extract.c
@@ -574,9 +574,12 @@ extractJsQuery(JsQuery *jq, MakeEntryHandler handler, Pointer extra)
574
ExtractedNode *root;
575
576
root = recursiveExtract(VARDATA(jq), 0, false, NULL);
577
- flatternTree(root);
578
- simplifyRecursive(root);
579
- root = makeEntries(root, handler, extra);
+ if (root)
+ {
+ flatternTree(root);
580
+ simplifyRecursive(root);
581
+ root = makeEntries(root, handler, extra);
582
+ }
583
return root;
584
}
585
0 commit comments