9dcfb3 parent e6309e7568d4b9d62298a887b10de42df11cb8c1 author Phil Carmody 1260815292 +0200 committer Greg Kroah-Hartman 1261596224 -0800 driver core: Prevent reference to freed memory on error path priv is drv->p. So only free drv->p after we've finished using priv. Found using a static code analysis tool Signed-off-by: Phil Carmody Signed-off-by: Greg Kroah-Hartman ëê§