drm/nouveau: error paths leak in nvc0_graph_construct_context()
commit60f7ab06651db7d9916c0d9138ed3b12676e920d
authorDan Carpenter <error27@gmail.com>
Sat, 25 Jun 2011 05:54:46 +0000 (25 08:54 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 26 Jun 2011 23:20:27 +0000 (27 09:20 +1000)
tree1f7c59c96bb11c32e5abdf46cd949593595a0bd7
parent3b40d07d8c4a9dc33ee6e1b4ad1d377309531ffe
drm/nouveau: error paths leak in nvc0_graph_construct_context()

Two of these error paths returned without freeing "ctx".

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvc0_graph.c