fixed error in previous commit

This commit is contained in:
z3APA3A 2020-11-03 14:48:55 +03:00
parent 9356db8de6
commit 3a31da9b3d

View File

@ -1160,7 +1160,7 @@ struct ace * copyacl (struct ace *ac){
}
if(ch->next){
ch->next = itcopy(ch->next, sizeof(struct chain));
if(!ch->next) goto ERRORCHAINS;
if(!ch->next) goto ERRORNEXT;
}
}
}
@ -1184,7 +1184,7 @@ ERRORDSTNAMES:
ac->chains = NULL;
ERRORCHAINS:
ac->next = NULL;
ERRORCHAINS:
ERRORNEXT:
freeacl(ret);
return NULL;