gluon-crond: fix matches == 6 case
This commit is contained in:
parent
8476bf5a2b
commit
639e300a93
@ -193,7 +193,7 @@ static int handle_line(const char *line) {
|
|||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
end:
|
end:
|
||||||
for (i = 0; i < matches; i++)
|
for (i = 0; i < matches && i < 5; i++)
|
||||||
free(columns[i]);
|
free(columns[i]);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user