drm/ttm: fix memory leak noticed by kmemleak.
authorDave Airlie <airlied@redhat.com>
Tue, 8 Dec 2009 05:58:08 +0000 (15:58 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 9 Dec 2009 03:29:37 +0000 (13:29 +1000)
commitec42a6e7dcfc2e9a92fad1c132bc9e110fafeb3f
tree7f7afc4f2ca0366fea7c8b1926dcc91db6acb9b8
parentb16d9acbdb97452d1418420e069acf7381ef10bb
drm/ttm: fix memory leak noticed by kmemleak.

If we don't need the zone we need to free it.

Acked-By: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_memory.c