mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-13 16:01:28 +05:30
moved loop variable declaration to comply with c mode in travis
Signed-off-by: Avi Vaid <avaid1996@gmail.com>
This commit is contained in:
@@ -140,7 +140,8 @@ GError *list(char *** paths, char *** accts, unsigned int *list_l) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void freeListData(char *** data, unsigned int length) {
|
void freeListData(char *** data, unsigned int length) {
|
||||||
for(int i=0; i<length; i++) {
|
int i;
|
||||||
|
for(i=0; i<length; i++) {
|
||||||
free((*data)[i]);
|
free((*data)[i]);
|
||||||
}
|
}
|
||||||
free(*data);
|
free(*data);
|
||||||
|
|||||||
Reference in New Issue
Block a user