diff options
author | Dave Airlie <airlied@redhat.com> | 2012-08-24 13:23:01 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-09-04 16:15:52 +1000 |
commit | 49ec57d5094be0dd2b67435ac7bb04ead780f36d (patch) | |
tree | 55649ee1eade668be406626f22d935488dbe778a /config/udev.c | |
parent | 20f601a0fbc01a4f8ab85e54ee45f78f7817cdb5 (diff) |
dix: free default colormap before screen deletion
If we don't free this here, it gets freed later in the resource
cleanups, however it then looks up up pmap->pScreen, which we
freed already in this function. So free the default colormap
when we should.
This fixes a bug after a couple of hotplug cycles when you try
to exit the X server and it crashes.
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'config/udev.c')
0 files changed, 0 insertions, 0 deletions