static void cil_reset_perm(struct cil_perm *perm)
{
	cil_reset_classperms_list(perm->classperms);
}
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.