aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2013-12-05 09:42:49 -0500
committerDave Airlie <[email protected]>2013-12-13 13:03:50 +1000
commit0f58411d4fd704d8958879fb08751eae3573271b (patch)
treefb5459f2bfd56398029c0184b17a68f8e309035c /lib/mpi/mpi-inline.h
parent0ca9fff744c8ae22401d1ef10a378588afd55abc (diff)
drm: don't double-free on driver load error
All instances of drm_dev_register are followed by drm_dev_free on failure. Don't free dev->control/render/primary on failure, as they will be freed by drm_dev_free since commit 8f6599da8e (drm: delay minor destruction to drm_dev_free()). Instead unplug them. Signed-off-by: Ilia Mirkin <[email protected]> Reported-and-tested-by: Bruno PrĂ©mont <[email protected]> Reviewed-by: David Herrmann <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions