> Therefore, I believe it only makes sense to add explicit initialization > for nfaStatesActive and nfaContextsActive, since these are the only two > that release_partition() also explicitly resets.
That makes sense.
Thank you for confirming.
> ## Proposal for consistency > > /* Initialize NFA free lists for row pattern matching */ > winstate->nfaContext = NULL; > winstate->nfaContextTail = NULL; > winstate->nfaContextFree = NULL; > winstate->nfaStateFree = NULL; > winstate->nfaLastProcessedRow = -1; > winstate->nfaStatesActive = 0; // Add this > winstate->nfaContextsActive = 0; // Add this > > Would you like me to include this change in the next patch?