mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Minor memory handling changes
This commit is contained in:
1 parent
dbbbe59ef2
commit
9356db8de6
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user