drm/nouveau: free memory allocated with alloc_apertures()
authorTommi Rantala <tt.rantala@gmail.com>
Fri, 9 Nov 2012 09:19:40 +0000 (09:19 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Nov 2012 06:06:28 +0000 (16:06 +1000)
commit83ef7777aa5ffbf08a71e14f0a127de315293113
treef92a07a9c9dfbc0c7913238d3553b4e322519150
parent302381511f4b1bc98c6f61ccaec5d8e98ccd0365
drm/nouveau: 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/nouveau/nouveau_drm.c