drm/mgag200: free memory allocated with alloc_apertures()
authorTommi Rantala <tt.rantala@gmail.com>
Fri, 9 Nov 2012 09:19:37 +0000 (09:19 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Nov 2012 06:06:25 +0000 (16:06 +1000)
commit602286469cebc9dcd6391eb33199736b15b82483
treeae28ce54a1cf2bd4c17a6afeeaf7df49f6a45bff
parent0a7fdc59fba559dfbce14963b32102125c49cb10
drm/mgag200: free memory allocated with alloc_apertures()

Fix a memory leak by deallocating the memory we got from
alloc_apertures().

Signed-off-by: Tommi Rantala <tt.rantala@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mgag200/mgag200_main.c