fix check in PmqMerge

pull/1295/head
Ken Steele 11 years ago committed by Victor Julien
parent 1c03eb56d0
commit eaac9c8d93

@ -591,7 +591,9 @@ void PmqMerge(PatternMatcherQueue *src, PatternMatcherQueue *dst)
/** \todo now set merged flag? */ /** \todo now set merged flag? */
MpmAddSids(dst, src->rule_id_array, src->rule_id_array_cnt); if (src->rule_id_array && dst->rule_id_array) {
MpmAddSids(dst, src->rule_id_array, src->rule_id_array_cnt);
}
} }
/** \brief Reset a Pmq for reusage. Meant to be called after a single search. /** \brief Reset a Pmq for reusage. Meant to be called after a single search.

Loading…
Cancel
Save