assert vre2set_fini success

parent dddaf3cf
......@@ -183,7 +183,7 @@ vmod_set__fini(struct vmod_re2_set **setp)
CHECK_OBJ(*setp, VMOD_RE2_SET_MAGIC);
set = *setp;
*setp = NULL;
vre2set_fini(&set->set);
AZ(vre2set_fini(&set->set));
for (int i = 0; i < set->npatterns; i++) {
if (vbit_test(set->added[STRING], i)
&& set->string[i] != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment