gluon-crond: fix matches == 6 case

This commit is contained in:
Matthias Schiffer 2013-09-29 22:16:59 +02:00
parent 8476bf5a2b
commit 639e300a93

View File

@ -193,7 +193,7 @@ static int handle_line(const char *line) {
ret = 0;
end:
for (i = 0; i < matches; i++)
for (i = 0; i < matches && i < 5; i++)
free(columns[i]);
return ret;