Fixup CLEANUP behavior
This commit is contained in:
parent
cc05ce64e9
commit
43626d7671
@ -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(®exes[nregexes]);
|
regfree(®exes[nregexes]);
|
||||||
free(®exes[nregexes]);
|
|
||||||
}
|
}
|
||||||
|
free(regexes);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user