memset(role, 0, sizeof(*role)); 
static int roles_init(struct policydb *p){	char *key = NULL;	int rc;	struct role_datum *role;	role = kmalloc(sizeof(*role), GFP_KERNEL);	if (!role) {		rc = -ENOMEM;		goto out;	}	memset(role, 0, sizeof(*role));	role->value = ++p->p_roles.nprim;	if (role->value != OBJECT_R_VAL) {		rc = -EINVAL;		goto out_free_role;	}	key = kmalloc(strlen(OBJECT_R)+1,GFP_KERNEL);	if (!key) {		rc = -ENOMEM;		goto out_free_role;	}	strcpy(key, OBJECT_R);	rc = hashtab_insert(p->p_roles.table, key, role);	if (rc)		goto out_free_key;out:	return rc;out_free_key:	kfree(key);out_free_role:	kfree(role);	goto out;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/89d155ef62e5e0c10e4b37aaa5056f0beafe10e6/policydb.c/clean/security/selinux/ss/policydb.c