[En-Nut-Discussion] HTTP password protection
Edwin van den Oetelaar
edwin at oetelaar.com
Sat Aug 26 12:16:48 CEST 2006
int NutClearAuth(void)
{
AUTHINFO *auth;
for (auth = authList; auth->auth_next; auth = auth->auth_next) {
NutHeapFree(auth);
}
authList = 0;
return 0;
}
Do I see this correctly ? You free auth and then you reference the contents to find the next block.
This should be a critical section then...
Correct me if I am wrong,
Edwin
More information about the En-Nut-Discussion
mailing list