commit | c1ff85d97708550e634fb6fa099c463db90fc40d | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Mon Jan 19 17:17:58 2009 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Mon Jan 19 17:17:58 2009 +1000 |
tree | 58d06ba7fb375232ec614bc78db39faceb7898c6 | |
parent | 1de9e8e70f5acc441550ca75433563d91b269bbe [diff] |
drm: fix leak of device mappings since multi-master changes. Device maps now contain a link to the master that created them, so when cleaning up the master, remove any maps that are connected to it. Also delete any remaining maps at driver unload time. Signed-off-by: Dave Airlie <airlied@redhat.com>