 if (cd->devt_attr) { kfree(cd->devt_attr); cd->devt_attr = NULL; } 
static void class_dev_release(struct kobject * kobj){	struct class_device *cd = to_class_dev(kobj);	struct class * cls = cd->class;	pr_debug("device class '%s': release.\n", cd->class_id);	if (cls->release)		cls->release(cd);	else {		printk(KERN_ERR "Device class '%s' does not have a release() function, "			"it is broken and must be fixed.\n",			cd->class_id);		WARN_ON(1);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/208f3d6175cb17772c5af202fe12373f90894ff4/class.c/buggy/drivers/base/class.c