diff options
| author | Ilia Mirkin <[email protected]> | 2013-12-05 14:42:49 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2013-12-13 03:03:50 +0000 |
| commit | 0f58411d4fd704d8958879fb08751eae3573271b (patch) | |
| tree | fb5459f2bfd56398029c0184b17a68f8e309035c /net/tipc/handler.c | |
| parent | Merge branch 'vmwgfx-fixes-3.13' of git://people.freedesktop.org/~thomash/lin... (diff) | |
| download | kernel-0f58411d4fd704d8958879fb08751eae3573271b.tar.gz kernel-0f58411d4fd704d8958879fb08751eae3573271b.zip | |
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 'net/tipc/handler.c')
0 files changed, 0 insertions, 0 deletions
