mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Fixed race conditions with users on configuration reload
This commit is contained in:
1 parent
fcbb000b0e
commit
4709f7a7b9
2 files changed
+45
-39
No files matched your search
@@ -914,13 +914,6 @@ void * itfree(void *data, void * retval){
|
||||
return retval;
|
||||
}
|
||||
|
||||
void freepwl(struct passwords *pwl){
|
||||
for(; pwl; pwl = (struct passwords *)itfree(pwl, pwl->next)){
|
||||
if(pwl->user)myfree(pwl->user);
|
||||
if(pwl->password)myfree(pwl->password);
|
||||
}
|
||||
}
|
||||
|
||||
void freeauth(struct auth * authfuncs){
|
||||
for(; authfuncs; authfuncs = (struct auth *)itfree(authfuncs, authfuncs->next));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user