Commit d57f12d9 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Tollef Fog Heen

This cast is a tad too creative for my taste, make it safer.

parent 697832e9
......@@ -59,8 +59,11 @@ VRT_re_init(void **rep, const char *re)
void
VRT_re_fini(void *rep)
{
vre_t *vv;
vv = rep;
if (rep != NULL)
VRE_free((vre_t**)&rep);
VRE_free(&vv);
}
int
......
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