mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 02:25:40 +08:00
Minor memory handling changes
This commit is contained in:
parent
dbbbe59ef2
commit
9356db8de6
@ -1166,7 +1166,7 @@ struct ace * copyacl (struct ace *ac){
|
||||
}
|
||||
if(ac->next){
|
||||
ac->next = itcopy(ac->next, sizeof(struct ace));
|
||||
if(!ac->next) break;
|
||||
if(!ac->next) goto ERRORCHAINS;
|
||||
}
|
||||
}
|
||||
if(!ac) return ret;
|
||||
@ -1184,6 +1184,7 @@ ERRORDSTNAMES:
|
||||
ac->chains = NULL;
|
||||
ERRORCHAINS:
|
||||
ac->next = NULL;
|
||||
ERRORCHAINS:
|
||||
freeacl(ret);
|
||||
return NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user