Skip to content
Snippets Groups Projects
Commit 639e300a authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-crond: fix matches == 6 case

parent 8476bf5a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment