Fix missing block grouping. ok tracey stsp
diff --git a/libexec/got-fetch-pack/got-fetch-pack.c b/libexec/got-fetch-pack/got-fetch-pack.c
index 8f12b8a..2f846ca 100644
--- a/libexec/got-fetch-pack/got-fetch-pack.c
+++ b/libexec/got-fetch-pack/got-fetch-pack.c
@@ -315,9 +315,10 @@ tokenize_refline(char **tokens, char *line, int len, int maxtokens)
done:
if (err) {
int j;
- for (j = 0; j < i; j++)
+ for (j = 0; j < i; j++) {
free(tokens[j]);
tokens[j] = NULL;
+ }
}
return err;
}