Commit b01518a1 by Geoff Simmons

Don't crash regex object finalization when the object is NULL,

for example if there was an error initializing the object.
parent 67f43312
Pipeline #198 skipped
......@@ -138,6 +138,8 @@ vmod_regex__fini(struct vmod_re_regex **rep)
struct vmod_re_regex *re;
if (rep == NULL || *rep == NULL)
re = *rep;
*rep = 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