Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
struct visorchipset_bus_info *p = (struct visorchipset_bus_info *) v;
kfree(p->name);
- p->name = NULL;
-
kfree(p->description);
- p->description = NULL;
-
- p->state.created = 0;
memset(p, 0, sizeof(struct visorchipset_bus_info));
}
struct visorchipset_device_info *p =
(struct visorchipset_device_info *) v;
- p->state.created = 0;
memset(p, 0, sizeof(struct visorchipset_device_info));
}