From: Jesper Juhl Date: Sun, 3 Jul 2011 23:46:53 +0000 (+1000) Subject: drm/nouveau: do not leak in nv20_graph_create X-Git-Tag: v3.1-rc1~230^2~13^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1541fa854273abee954ec4ca4ad65fe4ceb9e626;p=pandora-kernel.git drm/nouveau: do not leak in nv20_graph_create If we return due to an unknown chipset in drivers/gpu/drm/nouveau/nv20_graph.c:nv20_graph_create() we'll leak the memory allocated to 'pgraph'. This patch should fix the leak. Signed-off-by: Jesper Juhl Reviewed-by: Marcin Slusarz Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed