summaryrefslogtreecommitdiff
path: root/xmlregexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmlregexp.c')
-rw-r--r--xmlregexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlregexp.c b/xmlregexp.c
index 7f8921b7..1f1a1cce 100644
--- a/xmlregexp.c
+++ b/xmlregexp.c
@@ -1611,9 +1611,9 @@ xmlFAGenerateTransitions(xmlRegParserCtxtPtr ctxt, xmlRegStatePtr from,
case, I suppose this got optimized out before when
building the automata */
+ copy = xmlRegCopyAtom(ctxt, atom);
if (copy == NULL)
return(-1);
- copy = xmlRegCopyAtom(ctxt, atom);
copy->quant = XML_REGEXP_QUANT_ONCE;
copy->min = 0;
copy->max = 0;