Fixup CLEANUP behavior

This commit is contained in:
Eric Andersen 2001-11-19 10:36:20 +00:00
parent cc05ce64e9
commit 43626d7671

View File

@ -224,8 +224,8 @@ static void destroy_regexes()
/* destroy all the elments in the array */ /* destroy all the elments in the array */
while (--nregexes >= 0) { while (--nregexes >= 0) {
regfree(&regexes[nregexes]); regfree(&regexes[nregexes]);
free(&regexes[nregexes]);
} }
free(regexes);
} }
#endif #endif