bad memory leak, go away
This commit is contained in:
parent
4056e9c2b4
commit
1a139a3d69
@ -175,6 +175,7 @@ int main(int argc, char** argv)
|
|||||||
for (i=0; s[i]!=0; i++) {
|
for (i=0; s[i]!=0; i++) {
|
||||||
check_server(s[i]);
|
check_server(s[i]);
|
||||||
}
|
}
|
||||||
|
free(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* then loop checking recent */
|
/* then loop checking recent */
|
||||||
@ -185,6 +186,7 @@ int main(int argc, char** argv)
|
|||||||
for (i=0; s[i]!=0; i++) {
|
for (i=0; s[i]!=0; i++) {
|
||||||
check_server(s[i]);
|
check_server(s[i]);
|
||||||
}
|
}
|
||||||
|
free(s);
|
||||||
}
|
}
|
||||||
e = time(NULL);
|
e = time(NULL);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user