if (new->name) kfree(new->name); if (new->value) kfree(new->value); 
kfree(new->name); kfree(new->value); 
static struct property *new_property(const char *name, const int length,				     const unsigned char *value, struct property *last){	struct property *new = kmalloc(sizeof(*new), GFP_KERNEL);	if (!new)		return NULL;	memset(new, 0, sizeof(*new));	if (!(new->name = kmalloc(strlen(name) + 1, GFP_KERNEL)))		goto cleanup;	if (!(new->value = kmalloc(length + 1, GFP_KERNEL)))		goto cleanup;	strcpy(new->name, name);	memcpy(new->value, value, length);	*(((char *)new->value) + length) = 0;	new->length = length;	new->next = last;	return new;cleanup:	if (new->name)		kfree(new->name);	if (new->value)		kfree(new->value);	kfree(new);	return NULL;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b2325fe1b7e5654fac9e9419423aa2c58a3dbd83/reconfig.c/clean/arch/powerpc/platforms/pseries/reconfig.c