[libvirt] [PATCH] Fix free of invalid pointer in node_device_driver

If device does not have a driver, an uninitialized pointer was being free()'d in node_device_driver. Here's a small patch to fix it. Regards, Jim

2010/1/7 Jim Fehlig <jfehlig@novell.com>:
If device does not have a driver, an uninitialized pointer was being free()'d in node_device_driver. Here's a small patch to fix it.
Regards, Jim
I posted the same patch 3 days ago and DV ACKed it today. Haven't pushed it yet, but I'll do so now. Matthias

Matthias Bolte wrote:
2010/1/7 Jim Fehlig <jfehlig@novell.com>:
If device does not have a driver, an uninitialized pointer was being free()'d in node_device_driver. Here's a small patch to fix it.
Regards, Jim
I posted the same patch 3 days ago and DV ACKed it today. Haven't pushed it yet, but I'll do so now.
Oh, I missed it - sorry. Thanks for pushing! Regards, Jim
participants (2)
-
Jim Fehlig
-
Matthias Bolte