mirror of
https://git.busybox.net/busybox.git
synced 2024-11-24 22:23:25 +08:00
oops
This commit is contained in:
parent
55805bcba4
commit
6f8b7ea452
@ -216,14 +216,14 @@ static void load_regexes_from_file(const char *filename)
|
||||
|
||||
|
||||
#ifdef CONFIG_FEATURE_CLEAN_UP
|
||||
static void destroy_regexes()
|
||||
static void destroy_regexes(void)
|
||||
{
|
||||
if (regexes == NULL)
|
||||
return;
|
||||
|
||||
/* destroy all the elments in the array */
|
||||
while (--nregexes >= 0) {
|
||||
regfree(regexes[nregexes]);
|
||||
regfree(&(regexes[nregexes]));
|
||||
}
|
||||
if (regexes)
|
||||
free(regexes);
|
||||
|
Loading…
Reference in New Issue
Block a user