staging: xgifb: fix some memory leaks
authorAaro Koskinen <aaro.koskinen@iki.fi>
Thu, 17 Feb 2011 21:29:12 +0000 (23:29 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 20:38:17 +0000 (12:38 -0800)
commit6af8172043ddcebfcfc06a0921a10a858de45106
treef6702922220cfa7e940d8802a8c1c8f6661732be
parentbb29223453061b9b738e3659f7810c1f61165df2
staging: xgifb: fix some memory leaks

Some xgifb_probe() error paths are missing proper vfree()s. Move them
all into a single place.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_main_26.c