drm/nouveau: fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 11 Sep 2015 09:30:56 +0000 (15:00 +0530)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 3 Nov 2015 05:02:18 +0000 (15:02 +1000)
commitbad4274a69328256eb3eaad4baaefd1b33491f7e
tree935ccd7cd54b2570688b08d1530c336f3350f761
parent4458c5639ba827d494ab06a81d1bb129ca5aea91
drm/nouveau: fix memory leak

If pm_runtime_get_sync() we were going to "out" but we missed freeing
vma.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_gem.c