catdatum = kmalloc(sizeof(*catdatum), GFP_ATOMIC); 
catdatum = kzalloc(sizeof(*catdatum), GFP_ATOMIC); 
static int cat_read(struct policydb *p, struct hashtab *h, void *fp){	char *key = NULL;	struct cat_datum *catdatum;	int rc;	__le32 buf[3];	u32 len;	catdatum = kmalloc(sizeof(*catdatum), GFP_ATOMIC);	if (!catdatum) {		rc = -ENOMEM;		goto out;	}	memset(catdatum, 0, sizeof(*catdatum));	rc = next_entry(buf, fp, sizeof buf);	if (rc < 0)		goto bad;	len = le32_to_cpu(buf[0]);	catdatum->value = le32_to_cpu(buf[1]);	catdatum->isalias = le32_to_cpu(buf[2]);	key = kmalloc(len + 1,GFP_ATOMIC);	if (!key) {		rc = -ENOMEM;		goto bad;	}	rc = next_entry(key, fp, len);	if (rc < 0)		goto bad;	key[len] = 0;	rc = hashtab_insert(h, key, catdatum);	if (rc)		goto bad;out:	return rc;bad:	cat_destroy(key, catdatum, NULL);	goto out;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/89d155ef62e5e0c10e4b37aaa5056f0beafe10e6/policydb.c/clean/security/selinux/ss/policydb.c